The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ReduceStringToFN83CompliantChars


Unit:SDL_stringl
Class: none
Declaration: function ReduceStringToFN83CompliantChars (InString: string): string;

The function ReduceStringToFN83CompliantChars replaces all characters which do not comply with the Windows 8.3 filename convention in the string Instring by underscores ('_'). The function can be used to create a valid Windows filename from any string. Please note that slashes and backslashes are also converted to underscores, so directory paths will be corrupted by ReduceStringToFN83CompliantChars.


Last Update: 2012-Oct-20