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

al_ustr_has_prefix - Allegro 5 API

#include <allegro5/allegro.h>
bool al_ustr_has_prefix(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)
    

Returns true iff us1 begins with us2.

al_ustr_has_prefix_cstr(3alleg5), al_ustr_has_suffix(3alleg5)

Allegro reference manual