Jeremy Woertink wrote:
> ok, I've been reading more on it. I guess it's like unicode or 
> something....
> 
> 
> anyway, I need help with it still. I have a string,
> 
> "FOR-EACH-OBJECT\302\240@contents2\n"
> 
> and I want to split it by the \302\240, just doing
> 
> string.split('\302\240') doesn't work.
> 
> Any ideas?
> 
> Thanks,
> ~Jeremy

Splitting with a regex works.

string.split(/\302\240/)

hth,

Siep

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