From: "Jan E." Date: 2012-12-21T23:01:43+09:00 Subject: Re: trying to strip characters from a line I'm talking about your *new* code where you used the above suggestions. You said that neither of them worked, so I'm asking you for the exact code. Henry told you that you need to use "gsub!" if you want the method to actually change the string (instead of returning a new string). I suggested using "delete!" as an alternative. So choose one of those two options, rewrite your code and try again. -- Posted via http://www.ruby-forum.com/.