function: lx_chomp_ws()


USAGE:
Remove all ending whitespace characters from string buffer s. Whitespace characters include spaces (' '), tabs ('\t'), newlines ('\n'), and carriage returns ('\r').

This is done by modifying s->len. lx_chomp_ws() does not deallocate or overwrite any memory used by s.


PROPERTIES
return value void
allocation ensured n/a
previous allocation required yes


SEE ALSO: EXAMPLE:


(c) 2001, ari edelkind
lx_lib docs