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 -> ltrim & rtrim

ltrim & rtrim

From: Jeremy Ovenden <jovenden_at_hazelweb.co.uk>
Date: Thu, 22 Nov 2001 16:49:15 -0000
Message-ID: <tvqb4uctcplf64@corp.supernews.com>


Sorry if this is too simple...when I wish to remove any leading & trailing spaces from a string in SQL, I have been using e.g.

l_str := ltrim(rtrim(l_str));

This came about from me using ltrim initially to remove trailing spaces.

Is there a built-in that does this more elegantly?

cheers
-- Jeremy Received on Thu Nov 22 2001 - 10:49:15 CST

Original text of this message

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