Lekha Selvaraj wrote in post #1050192:
> I know this is not right coz I didn't get the output. How should I
> re-write it? to just get the output 111111

Please post a sample of the file so we can test ourselves.

Cheers

robert

-- 
Posted via http://www.ruby-forum.com/.