.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_ustr_find_replace" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ustr_find_replace - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_ustr_find_replace(ALLEGRO_USTR *us, int start_pos, const ALLEGRO_USTR *find, const ALLEGRO_USTR *replace) \f[R] .fi .SH DESCRIPTION .PP Replace all occurrences of \f[V]find\f[R] in \f[V]us\f[R] with \f[V]replace\f[R], beginning at byte offset \f[V]start_pos\f[R]. The \f[V]find\f[R] string must be non-empty. Returns true on success, false on error. .SH SEE ALSO .PP al_ustr_find_replace_cstr(3alleg5)