David A. Black wrote: > Hi -- > > On Thu, 9 Jul 2009, Sarawut Poaitwinyu wrote: > >> or not, and then cut the part, but i thought it might have easier way >> that i don't know > > words = string.split > > When you call split with no argument, it splits on whitespace > (including more than one character). > > > David Thank you , i will try -- Posted via http://www.ruby-forum.com/.