System.AnsiStrings.IsPathDelimiter

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function IsPathDelimiter(const S: AnsiString; Index: Integer): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall IsPathDelimiter(const System::AnsiString S, int Index)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.AnsiStrings.pas
System.AnsiStrings.hpp
System.AnsiStrings System.AnsiStrings

Description

Test if character is path delimiter.

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.

See Also