Re: parsing columns

2005-08-18 Thread Offer Kaye
On 8/18/05, Wiggins d'Anconia wrote: > > Though in that case I guess you might be able to determine that it is > column two because there aren't two spaces, Alas, were it that simple... :( An extra space will not be included, even if the l3dat2 would actually have been l3dat3... > but that is s

Re: parsing columns

2005-08-18 Thread Wiggins d'Anconia
Marcello wrote: > Manav Mathur ha scritto: > >>> Hi all, >>> I have a text file with columns, where the columns may not be aligned, >>> and not all lines may have data in all columns: >>> >>> header1 header2 header3header4 >>> ---

Re: parsing columns

2005-08-18 Thread Marcello
Manav Mathur ha scritto: Hi all, I have a text file with columns, where the columns may not be aligned, and not all lines may have data in all columns: header1 header2 header3header4 l1dat1l1dat2l1dat3

Re: parsing columns

2005-08-17 Thread Robert Citek
On Aug 13, 2005, at 8:22 AM, Offer Kaye wrote: I have a text file with columns, where the columns may not be aligned, and not all lines may have data in all columns: header1 header2 header3header4 l1dat1l1dat2

Re: parsing columns

2005-08-14 Thread Offer Kaye
On 8/14/05, Manav Mathur wrote: > > How do you logically determine that "l2dat4" in line 2 is column 4 and not > column 2?? > > Manav > Because as a human, I can see they are aligned. I guess a program will have to count whitespace, but then there is the issue of line 3... Regards, -- Offer K

Re: parsing columns

2005-08-14 Thread Manav Mathur
>Hi all, >I have a text file with columns, where the columns may not be aligned, >and not all lines may have data in all columns: > >header1 header2 header3header4 > >l1dat1l1dat2l1dat3 l1dat4 >l2dat1

Re: parsing columns

2005-08-13 Thread Wiggins d'Anconia
Offer Kaye wrote: > Hi all, > I have a text file with columns, where the columns may not be aligned, > and not all lines may have data in all columns: > > header1 header2 header3header4 > > l1dat1l1dat2l1dat3