.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" 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_remove_range" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ustr_remove_range - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include bool al_ustr_remove_range(ALLEGRO_USTR *us, int start_pos, int end_pos) \f[R] .fi .SH DESCRIPTION .PP Remove the interval [\f[V]start_pos\f[R], \f[V]end_pos\f[R]) from a string. \f[V]start_pos\f[R] and \f[V]end_pos\f[R] are byte offsets. Both may be past the end of the string but cannot be less than 0 (the start of the string). .PP Returns true on success, false on error. .SH SEE ALSO .PP al_ustr_remove_chr(3alleg5), al_ustr_truncate(3alleg5)