[#bsl-basic_string-0f3-find-03] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_t>]::find :relfileprefix: ../../ :mrdocs: Return the starting position of the _first_ occurrence of the specified `substring` of the optionally specified `numChars` length, if such a substring can be found in this string (on or _after_ the optionally specified `position` if such a `position` is specified) using `CHAR_TRAITS::eq` to compare characters, and return `npos` otherwise. If `numChars` is not specified, `CHAR_TRAITS::length(substring)` is used. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:bsl/basic_string-0f3/size_type.adoc[size_type] find( char32_t const* substring, xref:bsl/basic_string-0f3/size_type.adoc[size_type] position, xref:bsl/basic_string-0f3/size_type.adoc[size_type] numChars) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#