squeeze.c File Reference

#include <string.h>
#include <grass/gis.h>
#include <ctype.h>

Include dependency graph for squeeze.c:

Go to the source code of this file.

Functions

char * G_squeeze (char *line)
 remove unnecessary white space


Function Documentation

char* G_squeeze ( char *  line  ) 

remove unnecessary white space

Leading and trailing white space is removed from the string s 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. Returns s.

Parameters:
s 
Returns:
char *

Definition at line 38 of file squeeze.c.


Generated on Sun Apr 6 17:32:25 2008 for GRASS by  doxygen 1.5.5