al_ustr_find_str
int al_ustr_find_str(const ALLEGRO_USTR *haystack, int start_pos,
const ALLEGRO_USTR *needle)
Introduced in 5.0.0
Find the first occurrence of string needle
in haystack
, beginning from byte offset pos
(inclusive). Return the byte offset of the occurrence if it is found, otherwise return -1.
See also: al_ustr_find_cstr, al_ustr_rfind_str, al_ustr_find_replace
Examples: ex_utf8