[#bsl-basic_string-01d-starts_with-0c] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-01d.adoc[basic_string<char8_t>]::starts_with :relfileprefix: ../../ :mrdocs: `starts_with` overloads == Synopses Declared in `<bslstl_string.h>` Return `true` if this string starts with the specified `character`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-01d/starts_with-01.adoc[starts_with](char8_t character) const noexcept; ---- [.small]#xref:bsl/basic_string-01d/starts_with-01.adoc[_» more..._]# Return `true` if this string starts with the specified `characterString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-01d/starts_with-09.adoc[starts_with](basic_string_view<char8_t, char_traits<char8_t>> characterString) const noexcept; ---- [.small]#xref:bsl/basic_string-01d/starts_with-09.adoc[_» more..._]# Return `true` if this string starts with the specified C‐string. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-01d/starts_with-0f.adoc[starts_with](char8_t const* characterString) const; ---- [.small]#xref:bsl/basic_string-01d/starts_with-0f.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#