PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ rtpg_removespaces()

char * rtpg_removespaces ( char *  str)

Definition at line 207 of file rtpg_internal.c.

207 {
208 char *rtn;
209 char *tmp;
210
211 rtn = rtpg_strreplace(str, " ", "", NULL);
212
213 tmp = rtpg_strreplace(rtn, "\n", "", NULL);
214 pfree(rtn);
215 rtn = rtpg_strreplace(tmp, "\t", "", NULL);
216 pfree(tmp);
217 tmp = rtpg_strreplace(rtn, "\f", "", NULL);
218 pfree(rtn);
219 rtn = rtpg_strreplace(tmp, "\r", "", NULL);
220 pfree(tmp);
221
222 return rtn;
223}
#define str(s)
char * rtpg_strreplace(const char *str, const char *oldstr, const char *newstr, int *count)

References rtpg_strreplace(), and str.

Referenced by RASTER_reclass().

Here is the call graph for this function:
Here is the caller graph for this function: