ptrim, ptrimfront, ptrimback - remove whitespace from the ends of a string |
#include <pstring.h> char *ptrim (char *str); char *ptrimfront (char *str); char *ptrimback (char *str); |
ptrim modifies a string of text in place, removing any whitespace characters from the beginning and end of the line. |
ptrimfront is the same as ptrim but only removes whitespace from the beginning of a string. |
ptrimback is the same as ptrim but only removes whitespace from the end of a string. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |