/Random-Acts-Of-C

Misc utilities and functions

Primary LanguageCGNU Lesser General Public License v3.0LGPL-3.0

Random-Acts-Of-C

Misc utilities and functions

DEBLANK: int deblank( char * s )

Remove leading, and trailing blanks from a string. This assumes a natural C string ending in the appropriate terminator. Updates are done in-place to the string passed as argument, so no memory allocation.