From: | chester c young <chestercyoung(at)yahoo(dot)com> |
---|---|
To: | emilu(at)encs(dot)concordia(dot)ca |
Cc: | sql pgsql <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: trim(both) problem? |
Date: | 2008-04-25 21:48:26 |
Message-ID: | 930443.30930.qm@web54307.mail.re2.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
--- Emi Lu <emilu(at)encs(dot)concordia(dot)ca> wrote:
> Isn't this a bug about trim both.
>
> select trim(both '<BR/>' from '<BR/>ROI Engineering Inc.');
> btrim
> ---------------------
> OI Engineering Inc.
> (1 row)
>
>
> "R" is missing? How?
you misread - '<BR/>' argument is a list of characters, _not_ a string.
change 'ROI' to 'XOI' and you'll see.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Mueller | 2008-04-26 16:32:35 | Protection from SQL injection |
Previous Message | Tom Lane | 2008-04-25 21:26:27 | Re: trim(both) problem? |