.\" Automatically generated by Pandoc 2.2.1 .\" .TH "al_ustr_insert" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_ustr_insert \- Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include\ bool\ al_ustr_insert(ALLEGRO_USTR\ *us1,\ int\ pos,\ const\ ALLEGRO_USTR\ *us2) \f[] .fi .SH DESCRIPTION .PP Insert \f[C]us2\f[] into \f[C]us1\f[] beginning at byte offset \f[C]pos\f[]. \f[C]pos\f[] cannot be less than 0. If \f[C]pos\f[] is past the end of \f[C]us1\f[] then the space between the end of the string and \f[C]pos\f[] will be padded with NUL (\f[C]\[aq]\\0\[aq]\f[]) bytes. .PP If required, use al_ustr_offset(3alleg5) to find the byte offset for a given code point index. .PP Returns true on success, false on error. .SH SEE ALSO .PP al_ustr_insert_cstr(3alleg5), al_ustr_insert_chr(3alleg5), al_ustr_append(3alleg5), al_ustr_offset(3alleg5)