Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTString::Pos

Syntax

NINT Pos(const CTString& substr) const

Parameters

  • substr [in] The string to look for.

Description

Retrieves the index at which a specified substring begins.

Return

Pos() returns the index number at which a specified substring begins or -1 if substr is not found.

See also

SubString()

TOCIndex