I am just wondering if there is any method to remove string from another string?
Something like this:

class String
  def remove(s)
    self[s.length, self.length - s.length]
  end
end

9 Answers
9

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *