.\" Automatically generated by Pandoc 3.1.12.1 .\" .TH "al_ustr_find_str" "3" "" "Allegro reference manual" "" .SH NAME al_ustr_find_str \- Allegro 5 API .SH SYNOPSIS .IP .EX #include \f[B]\f[R] int al_ustr_find_str(const ALLEGRO_USTR *haystack, int start_pos, const ALLEGRO_USTR *needle) .EE .SH DESCRIPTION Find the first occurrence of string \f[CR]needle\f[R] in \f[CR]haystack\f[R], beginning from byte offset \f[CR]start_pos\f[R] (inclusive). Return the byte offset of the occurrence if it is found, otherwise return \-1. .SH SEE ALSO al_ustr_find_cstr(3), al_ustr_rfind_str(3), al_ustr_find_replace(3)