1al_ustr_find_str(3) Library Functions Manual al_ustr_find_str(3)
2
3
4
6 al_ustr_find_str
7
9 #include <allegro5/allegro.h>
10
11 int al_ustr_find_str(const ALLEGRO_USTR *haystack, int start_pos,
12 const ALLEGRO_USTR *needle)
13
15 Find the first occurrence of string needle in haystack, beginning from
16 byte offset pos (inclusive). Return the byte offset of the occurrence
17 if it is found, otherwise return –1.
18
20 al_ustr_find_cstr(3), al_ustr_rfind_str(3), al_ustr_find_replace(3)
21
22
23
24Allegro reference manual al_ustr_find_str(3)