Home How To Online Documentation Support Download Order

 

 

 

SACommand
SAConnection
SAException
SAField
SAParam

SAString
SADateTime
SANumeric
SAInterval

Enums and Typedefs

  

Usage

Class Members

Examples

SAString::Find

size_t Find( SAC har ch ) const;

size_t Find( SAChar ch, size_t nStart ) const;

size_t Find( const SAChar * lpszSub ) const;

size_t Find( const SAChar * lpszSub , size_t nStart ) const;

Returns the zero-based index of the first character in this SAString object that matches the requested substring or characters; SIZE_MAX if the substring or character is not found.

Parameters

ch.    A single character to search for.

nStart.    The index of the character in the string to begin the search with, or 0 to start from the beginning. The character at nStart is excluded from the search if nStart is not equal to 0.

lpszSub.    A substring to search for.

Remarks

Searches this string for the first match of a substring. The function is overloaded to accept both single characters (similar to the run-time function strchr) and strings (similar to strstr ).

Server specific notes

No specific information.

See also

FindOneOf, ReverseFind

Problems and Questions

If you haven't found the answer to your questions or have some problems on using the Library, please, send e-mail to howto@sqlapi.com.