[#BloombergLP-bdlb-StringViewUtil-startsWith-00] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/StringViewUtil.adoc[StringViewUtil]::startsWith :relfileprefix: ../../../ :mrdocs: `startsWith` overloads == Synopses Declared in `<bdlb_stringviewutil.h>` Return `true` if the specified `string` begins with the specified `character`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdlb/StringViewUtil/startsWith-0c.adoc[startsWith]( std::string_view const& string, char character); ---- [.small]#xref:BloombergLP/bdlb/StringViewUtil/startsWith-0c.adoc[_» more..._]# Return `true` if the specified `string` begins with the specified `characters`, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdlb/StringViewUtil/startsWith-09.adoc[startsWith]( std::string_view const& string, std::string_view const& characters); ---- [.small]#xref:BloombergLP/bdlb/StringViewUtil/startsWith-09.adoc[_» more..._]# See the overload above for contract. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool xref:BloombergLP/bdlb/StringViewUtil/startsWith-0d.adoc[startsWith]( std::string_view const& string, char const* characters); ---- [.small]#xref:BloombergLP/bdlb/StringViewUtil/startsWith-0d.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#