Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ltrim & rtrim
try trim
"Jeremy Ovenden" <jovenden_at_hazelweb.co.uk> wrote in message
news:tvqb4uctcplf64_at_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:56:17 CST
![]() |
![]() |