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: LTRIM Function (URGENT)

Re: LTRIM Function (URGENT)

From: Kenny Gump <kgump_at_mylanlabs.com.nospam>
Date: Mon, 12 Jul 1999 16:47:27 -0400
Message-ID: <378a53ed@News>


A couple of ways of doing it would be:

This will give everything from the 33rd character to the end of the string:

subsrt(documentno, 33);

or

If the Number always begins with R- and there may be a varying number of spaces and numbers at the beginning you could use:

substr(documentno, instr(documentno, 'R-'));

Kenny Gump

Tay, Virginia wrote in message <_7si3.566$XO2.155_at_news.flash.net>...
>Hi,
>I would like to trim the following field to be R-13935-01.....Is that a way
>that get rid of the first 32 characters (First 8 numbers + 24 spaces) by
>using LTRIM function....
>
>DOCUMENTNO
>===========
>00003331 R-13935-01
>
>Please help! THIS IS URGENT!
>
>Thanks a lot!
>
>Virginia
>
>
Received on Mon Jul 12 1999 - 15:47:27 CDT

Original text of this message

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