SDDS ToolKit Programs and Libraries for C and Python
|
Implementation of trim_spaces function..
Definition in file trim_spaces.c.
#include "mdb.h"
Go to the source code of this file.
Functions | |
char * | trim_spaces (char *s) |
Trims leading and trailing spaces from a string. | |
char * trim_spaces | ( | char * | s | ) |
Trims leading and trailing spaces from a string.
This function removes all leading and trailing space characters from the input string s
by modifying it in place. It returns a pointer to the trimmed string.
s | The string to be trimmed. |
Definition at line 28 of file trim_spaces.c.