al_ustr_find_set
int al_ustr_find_set(const ALLEGRO_USTR *us, int start_pos,
const ALLEGRO_USTR *accept)
Introduced in 5.0.0
This function finds the first code point in us
, beginning from byte offset start_pos
, that matches any code point in accept
. Returns the position if a code point was found. Otherwise returns -1.
See also: al_ustr_find_set_cstr, al_ustr_find_cset
Examples: ex_utf8
Most helpful discussions: