From: Vidya Vidya Date: 2007-10-17T16:43:31+09:00 Subject: Re: How to remove "~" in those files Hi, thanks for all your help, i got the answer, just i put \n beside "~", it worked, really i am wondering how it worked, but i got the expected answer. i did like this: @split_record=@read_file.split("~\n") -- Posted via http://www.ruby-forum.com/.