Suppose that I have the following string:
http://www.domain.com/?s=some&two=20
How can I take off what is after & includin
&
>>str = "http://www.domain.com/?s=some&two=20" >>str.split("&") >>["http://www.domain.com/?s=some", "two=20"]