Pulling in info from a web scrape, I got this name:
>> temp
"Rob Bolden"
>>temp.split " " #space bar
["Rob Bolden"]
>>temp.split /\s/
["Rob Bolden"]
>>temp.split /\s+/
["Rob Bolden"]
>>temp.split /\W/
["Rob", "Bolden"] #what I expected
What is not a space character (/\s/) but is a non-word character (/\W/)?
EDIT
$ruby -v
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.2.0]
With Ruby 1.9.2, you could use
ordas in: