RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
AnsiStrings.IsPathDelimiter Function

Test if character is path delimiter.

Pascal
function IsPathDelimiter(const S: AnsiString; Index: Integer): Boolean; overload;
C++
Boolean IsPathDelimiter(const AnsiString S, int Index);

IsPathDelimiter returns true if the character at byte S[Index] is a path delimiter ('\' or '/') and is not an MBCS (Multi Byte Character String) lead or trail byte. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!