From: Glen Holcomb Date: 2008-08-25T23:11:56+09:00 Subject: Re: split not returning an array? ------=_Part_86124_10659412.1219673770314 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Aug 25, 2008 at 8:06 AM, Amanda .. wrote: > Okay you're all right, before the split it's already "science students" > ... how can I stop that from happening? > > I'm pulling it in through a URL for a calendar/events site. The URL > determines what calendars to pull events from (ie science and students), > so I have params[:cal] that's supposed to store the string. Why is it > unescaping it for me? > > Should I just do a gsub!(' ', '+') maybe? > > Thanks for helping so fast! > -- > Posted via http://www.ruby-forum.com/. > > You could just split(' ') -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_86124_10659412.1219673770314--