DOKK / manpages / debian 11 / allegro5-doc / al_ustr_trim_ws.3alleg5.en
al_ustr_trim_ws(3alleg5) al_ustr_trim_ws(3alleg5)

al_ustr_trim_ws - Allegro 5 API

#include <allegro5/allegro.h>
bool al_ustr_trim_ws(ALLEGRO_USTR *us)
    

Remove both leading and trailing whitespace characters from a string.

Returns true on success, or false on error.

al_ustr_ltrim_ws(3alleg5), al_ustr_rtrim_ws(3alleg5)

Allegro reference manual