| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Strip the leading path delimiter of a path
Source position: finah.inc line 38
function ExcludeLeadingPathDelimiter(  | 
const Path: UNICODESTRING  | 
):UNICODESTRING;  | 
const Path: RAWBYTESTRING  | 
ExcludeLeadingPathDelimiter will remove any path delimiter on the first position of Path if there is one. if there is none (or the path is empty), it is left untouched.
  | 
Add trailing directory separator to a pathname, if needed.  | 
|
  | 
Prepend a path delimiter if there is not already one.  | 
|
  | 
Strip trailing directory separator from a pathname, if needed.  | 
|
  | 
Concatenate an array of paths to form a single path  | 
Program Example95; { This program demonstrates the IncludeLeadingPathDelimiter function } Uses sysutils; Begin // Will print "/this/path" Writeln(IncludeLeadingPathDelimiter('this/path')); // The same result Writeln(IncludeLeadingPathDelimiter('/this/path')); End.