[#boost-urls-grammar-find_if] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::xref:boost/urls/grammar.adoc[grammar]::find_if :relfileprefix: ../../../ :mrdocs: Find the first character in the string that is in the set. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/grammar/charset.hpp#L144[boost/url/grammar/charset.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:boost/urls/grammar/CharSet.adoc[CharSet] CS> char const* find_if( char const const* first, char const const* last, CS const& cs) noexcept; ---- == Description === Exception Safety Throws nothing. == Return Value A pointer to the found character, otherwise the value `last`. == Parameters |=== | Name | Description | *first* | A pointer to the first character in the string to search. | *last* | A pointer to one past the last character in the string to search. | *cs* | The character set to use. |=== == See Also xref:boost/urls/grammar/find_if_not.adoc[find_if_not]. [.small]#Created with https://www.mrdocs.com[MrDocs]#