Subject: Re: What's the opposite of <<
From: Paul Roche <prpaulroche gmail.com>
Date: Sun, 17 Oct 2010 08:00:39 +0900
References: 371982
In-reply-to: 371982
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/.