Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTString::IsDelimiter

Syntax

CTBOOL IsDelimiter(const CTString& str, const NINT index) const

Parameters

  • str [in] The string with the delimiter characters.
  • index [in] The position in string to check for delimiters. 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 matches any character in the delimiters the string str.

Return

IsDelimiter() returns YES if the character at byte index in the CTString matches any character in the delimiters string str, NO otherwise.

See also

IsPathDelimiter()

TOCIndex