# File lib/core/facets/string/lchomp.rb, line 10 def lchomp(match) if index(match) == 0 self[match.size..-1] else self.dup end end