al_ustr_remove_chr
bool al_ustr_remove_chr(ALLEGRO_USTR *us, int pos)
Introduced in 5.0.0
Remove the code point beginning at byte offset pos
. Returns true on success. If pos
is out of range or pos
is not the beginning of a valid code point, returns false leaving the string unmodified.
Use al_ustr_offset to find the byte offset for a code-points offset.
See also: al_ustr_remove_range
Examples: ex_utf8
Most helpful discussions: