Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Remove numbers from string
Nils Höglund wrote:
>
> Is there any way to remove all numbers from a string?
>
> The string might look like this: 'abc123def432'
> and I wan't it to look like this: 'abcdef'.
>
> I'm using Oracle 8.
>
> Thanks in advance!
>
> --
> /Nils Höglund, Naqua KB
>
> E-mail: nils_at_naqua.se
> Web: http://www.naqua.se/
> Home Phone: +46 (0)18 30 09 19
> Cellular Phone: +46 (0)709 91 97 65
> Address: Nya Valsätrav. 26 B
> SE-756 46
> Uppsala, Sweden
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.com
Check REPLACE and TRANSLATE in the SQL reference doc. You may have to use an intermediate stage, first replacing all numbers by say '#', then replacing '#' by ''.
-- Regards, Stephane Faroult Oriole Software -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Stephane Faroult INET: sfaroult_at_oriole.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Mon Jul 01 2002 - 06:48:20 CDT
![]() |
![]() |