Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to trim all whitespace from a varchar

Status
Not open for further replies.

Muskaan

Programmer
Oct 21, 2002
47
US
I was under the impression that trim, ltrim and rtrim can remove all whitespace from the ends of a varchar, but it appears that tabs are not removed. Any means of removing tab from the beginning/end of a varchar ?
 
Use:
Code:
rtrim(my_column,'	')
or
Code:
ltrim(my_column,'	')

There is a tab between the quotes.

Code:
select * from Life where Brain is not null
Consultant/Custom Forms & PL/SQL - Oracle 8.1.7 - Windows 2000
[sup]When posting code, please use TGML to help readability. Thanks![sup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top