But on a simple level......


say in irb mode I did the following...


name = "John"

name << " Smith"

=> John Smith



Would it be possible to take "John" or "Smith" from name?

-- 
Posted via http://www.ruby-forum.com/.