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