You are here: C++ Support Classes > dtSearch Namespace > Classes > DString Class > find Method
> DString::find Method (char)
Close
dtSearch Text Retrieval Engine Programmer's Reference
DString::find Method (char)
Syntax
C++
ptrdiff_t find(char c) const;

Offset of the character, or -1 if not found

Find a character, starting at the front of the string