[#bsl-basic_string-0f3-starts_with-02] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0f3.adoc[basic_string<char32_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-0f3/starts_with-0d.adoc[starts_with](char32_t character) const noexcept; ---- [.small]#xref:bsl/basic_string-0f3/starts_with-0d.adoc[_» more..._]# Return `true` if this string starts with the specified `characterString`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:bsl/basic_string-0f3/starts_with-03.adoc[starts_with](basic_string_view<char32_t, char_traits<char32_t>> characterString) const noexcept; ---- [.small]#xref:bsl/basic_string-0f3/starts_with-03.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-0f3/starts_with-07.adoc[starts_with](char32_t const* characterString) const; ---- [.small]#xref:bsl/basic_string-0f3/starts_with-07.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#