[#llvm-SmallString-find_last_of-06] = xref:llvm.adoc[llvm]::xref:llvm/SmallString.adoc[SmallString]::find_last_of :relfileprefix: ../../ :mrdocs: Find the last character in the string that is `C,` or npos if not found. == Synopsis Declared in `<llvm/ADT/SmallString.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard]] size_t find_last_of( char C, size_t From = StringRef::npos) const; ---- == Return Value Index of the last match, or npos if not found. [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== == Parameters [cols="1,4"] |=== | Name| Description | *C* | Character to search for. | *From* | Index to start the reverse search from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#