SDDS ToolKit Programs and Libraries for C and Python
|
Implementation of string manipulation routine.
Definition in file delete_chars.c.
#include "mdb.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
char * | delete_chars (char *s, char *t) |
Removes all occurrences of characters found in string t from string s . | |
char * delete_chars | ( | char * | s, |
char * | t ) |
Removes all occurrences of characters found in string t
from string s
.
This function iterates through each character in s
and removes it if it appears in t
.
s | The input string from which characters will be removed. It is modified in place. |
t | The string containing characters to be removed from s . |
s
. Definition at line 28 of file delete_chars.c.