From: Marc Heiler Date: 2008-10-22T04:11:46+09:00 Subject: Re: Stripping characters off a string your_string = "abcdef" # => "abcdef" your_string[-4,4] = '' # => "" your_string # => "ab" -- Posted via http://www.ruby-forum.com/.