AllowDirectorySeparators constant
Set of characters considered directory separators.
Declaration
AllowDirectorySeparators : Set of AnsiChar = char = ['\', '/']Description
AllowDirectorySeparators is the set of characters which are
considered directory separators by the RTL units. By default, this is set
to the most common directory separators: forward slash and backslash, so
routines will work in a cross-platform manner, no matter which character
was used:
AllowDirectorySeparators : set of char = ['\','/'];
If a more strict behaviour is desired, then AllowDirectorySeparators
can be set to the only character allowed on the current operating system, and
all RTL routines that handle filenames (splitting filenames, extracting
parts of the filename and so on) will use that character only.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
