SDDSlib
|
Provides the rcdelete function for string manipulation. More...
#include "mdb.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
char * | rcdelete (char *s, char c0, char c1) |
Deletes from a string every instance of any character between two specified ASCII characters, inclusive. | |
Provides the rcdelete function for string manipulation.
Definition in file rcdelete.c.
char * rcdelete | ( | char * | s, |
char | c0, | ||
char | c1 ) |
Deletes from a string every instance of any character between two specified ASCII characters, inclusive.
This function iterates through the input string and removes any character that falls within the specified range [c0, c1] in the ASCII table.
s | The input string to be modified. |
c0 | The lower bound character in the ASCII range. |
c1 | The upper bound character in the ASCII range. |
Definition at line 29 of file rcdelete.c.