[#bsl-basic_string-0ce-starts_with-08] = xref:bsl.adoc[bsl]::xref:bsl/basic_string-0ce.adoc[basic_string<char16_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-0ce/starts_with-01.adoc[starts_with](char16_t character) const noexcept; ---- [.small]#xref:bsl/basic_string-0ce/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-0ce/starts_with-02.adoc[starts_with](basic_string_view<char16_t, char_traits<char16_t>> characterString) const noexcept; ---- [.small]#xref:bsl/basic_string-0ce/starts_with-02.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-0ce/starts_with-05.adoc[starts_with](char16_t const* characterString) const; ---- [.small]#xref:bsl/basic_string-0ce/starts_with-05.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#