strim — Removes leading and trailing whitespace froms.
Synopsis
char *strim(
char *s);
Arguments
char * s
The string to be stripped.
Description
Note that the first trailing whitespace is replaced with aNUL-terminator in the given strings. Returns a pointer to the first non-whitespace character ins.