DOKK / manpages / debian 12 / allegro5-doc / al_ustr_has_prefix_cstr.3alleg5.en
al_ustr_has_prefix_cstr(3alleg5) al_ustr_has_prefix_cstr(3alleg5)

al_ustr_has_prefix_cstr - Allegro 5 API

#include <allegro5/allegro.h>
bool al_ustr_has_prefix_cstr(const ALLEGRO_USTR *us1, const char *s2)
    

Returns true iff us1 begins with s2.

al_ustr_has_prefix(3alleg5), al_ustr_has_suffix_cstr(3alleg5)

Allegro reference manual