From: Markt Date: 2002-01-19T06:12:09+09:00 Subject: Re: Hello! Array sub classing? This is a multi-part message in MIME format. --------------E3AE5A2E4AA8B5060E6CA962 Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit TABfile = "TAB14.txt" TABf = open(TABfile, "r")lines = TABf.readline lines = lines#split(/\n/) print lines[2] I think the trouble comes as the data has text delimited by tabs, but the text is not enclosed by ". So the view of the data is of more elements than I want. So what s the code for reading a line delimeted by a tab? I've tried the obvious... just need that \t in the right place... Regards & thanks. Markt > Can you post some of your code? I'm not sure where it's going wrong, > if you're using String#split("\t") (as Harry suggested). > > David > > -- > David Alan Black > home: dblack@candle.superlink.net > work: blackdav@shu.edu > Web: http://pirate.shu.edu/~blackdav --------------E3AE5A2E4AA8B5060E6CA962 Content-Type: text/x-vcard; charset=us-ascii; name="markt.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Markt Content-Disposition: attachment; filename="markt.vcf" begin:vcard n:Turner;Mark tel;cell:(+614) 10540399 tel;work:(+612) 9212 3845 x-mozilla-html:FALSE url:www.govirtual.com.au org:Govirtual.com.au adr:;;G1 / 15 Smail St.;Ultimo;NSW;2007;Asustralia version:2.1 email;internet:Markt@govirtual.com.au title:Technical Manager x-mozilla-cpt:;3 fn:Mark Turner end:vcard --------------E3AE5A2E4AA8B5060E6CA962--