SysUtils.IsPathDelimiter

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From SysUtils.pas

	function IsPathDelimiter(const S: string; Index: Integer): Boolean; overload;


Unit: SysUtils

Type: function

Visibility: public

C++ Information

From SysUtils.hpp

	bool __fastcall IsPathDelimiter(System::UnicodeString S, int Index);


Unit: SysUtils

Type: function

Description

Indicates whether the byte at a specified position in a string is the path delimiter.


Call IsPathDelimiter to determine whether a position in the string S contains the path delimiter character ('/' on Linux and Macintosh, '\' on Windows). Positions are numbered from 1.

When working with a multi-byte character system (MBCS), IsPathDelimiter distinguishes between a true delimiter character, and the byte of the same value that can appear as the second byte of a double-byte character.

To test for more characters than just the delimiter, use IsDelimiter.

See Also

Personal tools
Translations
Newest Version