PostGIS  2.5.7dev-r@@SVN_REVISION@@

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

References rtpg_strreplace().

Referenced by RASTER_reclass().

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