ptrim

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION

NAME

ptrim, ptrimfront, ptrimback - remove whitespace from the ends of a string

SYNOPSIS

#include <pstring.h>

char *ptrim (char *str);
char *ptrimfront (char *str);
char *ptrimback (char *str);

DESCRIPTION

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.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13