Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: SQL to remove char from string?

Re: SQL to remove char from string?

From: Herbert Tessemaker <J.Hoekstra_at_civ.utwente.nl>
Date: 1998/01/22
Message-ID: <01bd271e$d9092800$7c025982@utciv2124.civ.utwente.nl>#1/1

try this : replace(translate('(888)555-1212','(-+)abcd',' '),' ')

Billy wrote in article
> Hi Everybody!
>
> I need to remove all characters from a string like (888)555-1212 and
> just leave the numbers 8885551212. Some strings could have + signs or
> other stuff like @, klondike 999-1111. I just want to remove any
> non-numeric characters.
>
Received on Thu Jan 22 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US