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: PL/SQL and parsing a variable for whitespace

Re: PL/SQL and parsing a variable for whitespace

From: Jomarlen <jomarlen_at_aol.com>
Date: 1997/10/14
Message-ID: <19971014213901.RAA08993@ladder01.news.aol.com>#1/1

 in_string := ''''||replace(in_string,,' ',''',''')||'''';

John

>I am trying to parse out a variable where it contains whitespace. For
>example: Lets say I have the variable called in_string varchar2(100) :=
>'This is a test'
>I want to parse this variable so that every time it finds a whitespace
>character, it creates a substr. So after I parse it, I should have four
>substr, 'This', 'is', 'a', 'test'
Received on Tue Oct 14 1997 - 00:00:00 CDT

Original text of this message

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