Return the position of the first occurrence of the specified character, if such an occurrence can be found in this string (on or after the optionally specified position if such a position is specified), and return npos otherwise.
character
position
npos
Declared in <bslstl_string.h>
<bslstl_string.h>
size_type find( char32_t character, size_type position = 0) const;