Trim excess whitespace from the end of a string
#include <firestring.h>
-lfirestring
char *firestring_chomp(char *s)
firestring_chomp() removes any whitespace at the end of the string s. The string is modified in place and returned as well.
s after having been modified.
Ian Gulliver <[email protected]>