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