Is there a function which eliminates spaces? - Mailing list pgsql-novice

From Pierre Couderc
Subject Is there a function which eliminates spaces?
Date
Msg-id djinao$pr9$1@news.hub.org
Whole thread Raw
Responses Re: Is there a function which eliminates spaces?
List pgsql-novice
In a WHERE clause, I want to to compare strings ignoring the spaces
inside them. Is there a function to do that? I do not find it in the
documentation.

SELECT (...) WHERE (ignore_spaces(table.phone_number) ~* igore_spaces(?));

would be fine but ignore_space() does not exist!

Maybe there is a solution based on regular expression, but I do not see it.

pgsql-novice by date:

Previous
From: Rieback Melanie
Date:
Subject: Re: Displaying current query - eliminating
Next
From: Michael Glaesemann
Date:
Subject: Re: Is there a function which eliminates spaces?