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....



ReplaceInvalidFileNameChars


Unit: SDL_filesys
Class: none
Declaration: function ReplaceInvalidFileNameChars (FName: string; ReplacementChar: char): string;

The function ReplaceInvalidFileNameChars replaces all invalid characters in the filename FName by a character specified by the parameter ReplacementChar and returns the result as the function value. Please note that the function expects a filename without path.


Last Update: 2023-Feb-06