.\" Generated by the Allegro makedoc utility .TH uremove 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME uremove \- Removes a character from a string. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B int uremove(char *s, int index); .SH DESCRIPTION Removes the character at the specified `index' within the string, sliding the rest of the data back to fill the gap. If `index' is negative, it counts backward from the end of the string. Example: .nf int length_in_bytes = ustrsizez(text_string); ... length_in_bytes -= uremove(text_string, -1); .fi .SH "RETURN VALUE" Returns the number of bytes by which the trailing part of the string was moved. .SH SEE ALSO .BR uoffset (3alleg4), .BR ugetat (3alleg4), .BR usetat (3alleg4), .BR uinsert (3alleg4)