GRASS Programmer's Manual 6.4.1(2011)
|
GIS Library - String white space removal functions. More...
#include <ctype.h>
#include <string.h>
#include <grass/gis.h>
Go to the source code of this file.
Functions | |
char * | G_squeeze (char *line) |
Remove superfluous white space. |
GIS Library - String white space removal functions.
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file squeeze.c.
char* G_squeeze | ( | char * | line | ) |
Remove superfluous white space.
Leading and trailing white space is removed from the string line and internal white space which is more than one character is reduced to a single space character. White space here means spaces, tabs, linefeeds, newlines, and formfeeds.
[in,out] | line |
Definition at line 45 of file squeeze.c.
Referenced by G_get_raster_sample_bilinear(), G_get_raster_sample_cubic(), and G_get_raster_sample_nearest().