Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTString::Compare

Syntax

NINT Compare(const CTString& str) const

Parameters

  • str [in] The string to be compared.

Description

Compares this CTString object to str, with case sensitivity. This method is NULL safe.

Return

Compare returns:

  • A value greater than zero if the CTString object is greater than str
  • A value smaller than zero if the CTString object is smaller than str
  • Zero if they are the same

See also

CompareIC()

TOCIndex