pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Bad encoding in URL
3+ messages / 3 participants
[nested] [flat]

* Bad encoding in URL
@ 2003-10-06 10:45  HR <hre@netpointers.com>
  0 siblings, 2 replies; 3+ messages in thread

From: HR @ 2003-10-06 10:45 UTC (permalink / raw)
  To: pgsql-sql

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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Bad encoding in URL
@ 2003-10-07 19:11  Theodore Petrosky <tedpet5@yahoo.com>
  parent: HR <hre@netpointers.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Theodore Petrosky @ 2003-10-07 19:11 UTC (permalink / raw)
  To: HR <hre@netpointers.com>; pgsql-sql

Maybe you want to look here:

http://www.brasileiro.net/postgres/cookbook/

mimic oracle's replace function.  versions in pltcl
and plpgsql. 

If the function you want isn't built in to
posgresql...

Ted

--- HR <hre@netpointers.com> wrote:
> 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@postgresql.org so that your
>       message can get through to the mailing list cleanly

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Bad encoding in URL
@ 2003-10-07 19:18  George Weaver <georgew1@mts.net>
  parent: HR <hre@netpointers.com>
  1 sibling, 0 replies; 3+ messages in thread

From: George Weaver @ 2003-10-07 19:18 UTC (permalink / raw)
  To: pgsql-sql; HR <hre@netpointers.com>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-10-07 19:18 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-10-06 10:45 Bad encoding in URL HR <hre@netpointers.com>
2003-10-07 19:11 ` Theodore Petrosky <tedpet5@yahoo.com>
2003-10-07 19:18 ` George Weaver <georgew1@mts.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox