SDDSlib
|
Provides a string manipulation function. More...
#include "mdb.h"
#include <ctype.h>
Go to the source code of this file.
Functions | |
char * | compressString (char *s, char *t) |
Eliminates repeated occurrences of characters in string t from string s. | |
Provides a string manipulation function.
This file contains functions to create, manage, and manipulate buffers that store lines of text strings. Buffers can be dynamically created, added to, cleared, and printed to files.
Definition in file compress.c.
char * compressString | ( | char * | s, |
char * | t ) |
Eliminates repeated occurrences of characters in string t from string s.
This function removes consecutive duplicate characters in string s
that are present in string t
.
s | Pointer to the string to be compressed. The string is modified in place. |
t | Pointer to the string containing characters to remove from s . |
s
. Definition at line 32 of file compress.c.