From: Matt Brooks Date: 2009-09-03T06:06:14+09:00 Subject: Re: confusing string parsing problem 7stud -- wrote: > 7stud -- wrote: >> You could do that simply like this: >> >> chop_size = 2 + >> 2 + >> 1 + >> results[3].length + 1 + >> results[4].length + 1 + >> 1 >> > > Whoops. The last field is 2 bytes. > > chop_size = 2 + > 2 + > 1 + > results[3].length + 1 + > results[4].length + 1 + > 2 Thanks 7stud, I like that way. Very nice, I will be using this!!! Slowly Ruby is growing on me! -Matt -- Posted via http://www.ruby-forum.com/.