Next: str_trunc, Previous: str_tokbqcnt, Up: Strings
removes white space from front of a string
#include <suplib/str.h>char *str_trim(char *str);
char *str
- the string to trim
str_strim
removes white space from the front of a
string by shifting the string to the left, starting at the
first non-white space character. It works in place,
altering the passed string.
It returns the pointer which it was passed
Diab Jerius