al_ustr_trim_ws

bool al_ustr_trim_ws(ALLEGRO_USTR *us)
Introduced in 5.0.0

Remove both leading and trailing whitespace characters from a string.

Returns true on success, or false if the function was passed an empty string.

See also: al_ustr_ltrim_ws, al_ustr_rtrim_ws

Examples: ex_utf8