# File lib/facets/core/string/first.rb, line 36 def first!(separator_pattern=//) pattern = self.class.patterns(separator_pattern) a = shatter(pattern) r = a.first a.shift a.shift replace( a.join('') ) return r end