MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / find_first_of

Method find_first_of

include/stringzilla/stringzilla.hpp:3258–3258  ·  view source on GitHub ↗

* @brief Find the first occurrence of a character from a @p `set`. * @param[in] skip Number of characters to skip before the search. * @warning The behavior is @b undefined if `skip > size()`. */

Source from the content-addressed store, hash-verified

3256 * @warning The behavior is @b undefined if `skip > size()`.
3257 */
3258 size_type find_first_of(byteset set, size_type skip = 0) const noexcept { return view().find_first_of(set, skip); }
3259
3260 /**
3261 * @brief Find the first occurrence of a character outside a @p `set`.

Callers 5

test_unit_globalsFunction · 0.45
operator()Method · 0.45
test_searchFunction · 0.45
operator()Method · 0.45

Calls

no outgoing calls

Tested by 3

test_unit_globalsFunction · 0.36
test_searchFunction · 0.36