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