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

Home -> Community -> Usenet -> c.d.o.misc -> Re: String - replacing multiple spaces

Re: String - replacing multiple spaces

From: Vadim Shatalov <skiv_at_admkom.tlt.ru>
Date: Thu, 17 Dec 1998 11:40:21 +0400
Message-ID: <qkca57.cfj.ln@news.admcity.tlt.ru>


May be that way :

select replace(replace(replace('Billy Bob Smith',' ',' '),' ',' '),' ',' ') from dual;

Jerome Chik wrote in message <3675D903.1012_at_citec.com.au>...
>Hi,
>
>Is there a way in PL/SQL to remove multiple spaces in a string and
>replacing them with a single space?
>
>e.g. "Billy Bob Smith" into "Billy Bob Smith"
>
>
>
>Thanks,
>
>Jerome.


Received on Thu Dec 17 1998 - 01:40:21 CST

Original text of this message

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