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)