al_ustr_remove_range(3)

πŸ“¦
version 5.2.11.3 Β· 3 versions
, in arch rolling

✨ 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