Re: Bad encoding in URL

From: "George Weaver" <georgew1(at)mts(dot)net>
To: <pgsql-sql(at)postgresql(dot)org>, "HR" <hre(at)netpointers(dot)com>
Subject: Re: Bad encoding in URL
Date: 2003-10-07 19:18:44
Message-ID: 00f101c38d08$05566a30$3e09a18e@cleartag
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


From the manual:

replace(string text, from text, to text) text Replace all occurrences
in string of substring from with substring to replace('abcdefabcdef', 'cd',
'XX') abXXefabXXef

HTH.
George

----- Original Message -----
From: "HR" <hre(at)netpointers(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Sent: Monday, October 06, 2003 5:45 AM
Subject: [SQL] Bad encoding in URL

> Hi
>
> I have some URLs in a database but some of the URL contain %3A and so on..
>
> Is there an easy way of converting '%3A' to ':' ???
>
> I cannot find any replace(String str, String str) among the string
> functions.
>
> ThankYou.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tomek 2003-10-08 07:20:12 security definer function
Previous Message Theodore Petrosky 2003-10-07 19:11:34 Re: Bad encoding in URL