strmtrim3pub
Replace multiple white spaces with single blanks within string
Usage
#include <publib.h> char *strmtrim(char *str);
Overview
strmtrim will replace every run of whitespace characters (as defined by isspace(3)) with a single blank. It will not touch leading and trailing whitespace (use strltrim(3) and strrtrim(3) for those).
Return value
strmtrim will return the value of its argument.
Releases
16 releases since Debian 1.2 (Rex); the text changed 4 times.