PostGIS  2.5.0dev-r@@SVN_REVISION@@
char* rtpg_removespaces ( char *  str)

Definition at line 207 of file rtpg_internal.c.

References rtpg_strreplace().

Referenced by RASTER_reclass().

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 }
char * rtpg_strreplace(const char *str, const char *oldstr, const char *newstr, int *count)
Definition: rtpg_internal.c:55

Here is the call graph for this function:

Here is the caller graph for this function: