From: Pen Ttt Date: 2010-07-24T12:28:54+09:00 Subject: Re: how to convert the string? maybe match(/\S+/).to_s is not ok would you mind to help me to find a way(one way not three way for the following) to convert "Dec 31, 2009/n \302\240" into "Dec 31, 2009" "-34/n \302\240" into "-34" "profit/n \302\240" into "profit" -- Posted via http://www.ruby-forum.com/.