[#bsl-basic_string-01d-starts_with-01] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-01d.adoc[basic_string<char8_t>]::starts_with :relfileprefix: ../../ :mrdocs: Return `true` if this string starts with the specified `character`. == Synopsis Declared in `<bslstl_string.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool starts_with(char8_t character) const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#