Home BasePack Stringl Procedures and Functions ReduceStringToFN83CompliantChars |
|
| See also: StripLTBlanks, ReduceStringToAZ09, IsDOS83Path, IsFN83CompliantPath, ReplaceInvalidFileNameChars |
|
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.
|