GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
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. More... | |
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.
References l.
Referenced by E_edit_cellhd(), G_get_raster_sample_bilinear(), G_get_raster_sample_cubic(), G_get_raster_sample_nearest(), and make_location().