Searches this string for the first match of a character or substring.
A substring to search for.
The index of the character in the string to begin the search with, or 0 to start from the beginning.
A single character to search for.
The zero-based index of the first character in this CStringT object that matches the requested substring or characters; -1 if the substring or character is not found.
The function is overloaded to accept both single characters (similar to the run-time function strchr) and strings (similar to strstr).