how can I scan a string and chop it of to a words without losing the hyphens ? EG: apple $ two ( to be will be saved in the array as array = ['apple', '$' , 'two', '(' , 'to' , 'be'] thank you -- Posted via http://www.ruby-forum.com/.