Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTString::IsPathDelimiter

Syntax

CTBOOL IsPathDelimiter(const NINT index)

Parameters

  • index [in] The position in string to check for path delimiter. The first position is zero. If index is less than zero or if index is greater or equal to the length of the string, a CTException is thrown with error code CTDBRET_INDEXRANGE (4005).

Description

Verifies if the character at byte index in the CTString is ‘\’ (or ‘/’ for Unix systems).

Return

IsPathDelimiter() returns YES if the character at byte index in the CTString is a path delimiter, NO otherwise.

TOCIndex