[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Space and Tab - in flat file
- Subject: Re: Space and Tab - in flat file
- From: "Patel, Samir (CITS)" <spatel@ADMIN1.UMARYLAND.EDU>
- Date: Wed, 2 Oct 2002 17:43:33 -0400
I am not sure if there is a specific command/function to trim off tabs, but
here are some suggestions.
I've never tried this, but you can use the encode command to "store" the tab
into a variable, and then use the translate function to convert the tab to a
blank.
Or, instead of trying to trim off the spaces & tabs, how about you just read
them into (one or more) "dummy" variables. This way you'll account for them
(as position holders) in the file, and be able to read your file and process
further.
Hope that helps,
Samir
-----Original Message-----
From: Parthiban Subbiah [mailto:parthiban@IWON.COM]
Sent: Wednesday, October 02, 2002 5:32 PM
To: SQR-USERS@list.iex.net
Subject: Space and Tab - in flat file
Hi all, I am trying to read a file which has leading tabs and spaces. Using
ltrim function I amable to l-trim spaces, not tabs. How to Ltrim tabs?..I
can write a code to do the same, but like to know if SQR function can do
that.. Thanks,Parthiban Subbiah
------------------------------------------------
Changed your e-mail? Keep your contacts! Use this free e-mail change of
address service from Return Path. Register now!