[#llvm-SmallString-starts_with-0e9] = xref:llvm.adoc[llvm]::xref:llvm/SmallString.adoc[SmallString]::starts_with :relfileprefix: ../../ :mrdocs: starts_with ‐ Check if this string starts with the given character `C.` == Synopsis Declared in `<llvm/ADT/SmallString.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] bool starts_with(char C) const; ---- == Return Value True if the string begins with `C.` [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *C* | Character prefix to match. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#