al_ustr_remove_range(3)
β¨ NAME β¨
okay so bestie, this is al_ustr_remove_range(3) β the Allegro 5 API function that removes a chunk from a string. It lives in the Library Functions Manual, and we are keeping every detail cute but intact, periodt. π
π¦ SYNOPSIS π¦
#include <allegro5/allegro.h>
bool al_ustr_remove_range(ALLEGRO_USTR *us, int start_pos, int end_pos)
π DESCRIPTION π
the whole vibe: remove the interval [start_pos, end_pos) from a string. start_pos and end_pos are byte offsets, iykyk β bytes, not vibes. π§
both of those positions may be past the end of the string, but they cannot be less than 0 (the start of the string). like, negative positions? not the move, bestie. π
it returns true on success and false on error. no cap. β¨
π SEE ALSO π
thatβs the whole page, bestie π«Ά β source/version vibes: Allegro reference manual; date: the original footer doesnβt list a date, so Iβm not making one up, ngl. π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms