[#bsl-basic_string-0ce-find_first_of-0c] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic_string<char16_t>]::find_first_of :relfileprefix: ../../ :mrdocs: 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. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0ce/size_type.adoc[size_type] find_first_of( char16_t character, xref:bsl/basic_string-0ce/size_type.adoc[size_type] position = 0) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#