From: Ari Brown Date: 2007-04-26T07:25:29+09:00 Subject: Re: gsub question Newbie taking a stab at it..... On Apr 25, 2007, at 6:05 PM, traktorman@gmail.com wrote: > Hello, Hello > txt = "Messages posted to this group will make your email address > visible to anyone on the Internet. \" > puts txt.gsub('\' , ' ') > produces an error: > test.rb:1: unterminated string meets end of file And right it should! You probably already know, but \ is the escape thing. It basically means 'disregard this next character'. So in fact, that string never ends. A good text editor with coloring would show that. But your gsub method looks right :-) HTH ---------------------------------------------------------------| ~Ari "I don't suffer from insanity. I enjoy every minute of it" --1337est man alive