Hi, Tobias Reif <tobiasreif / pinkjuice.com> writes: : :any simpler way than :-- :class String : : def upcase_first : self[0] = self[0].chr.upcase[0] : self : end : : def downcase_first : self[0] = self[0].chr.downcase[0] : self : end : : :end :-- :? class String def upcase_first sub!(/./){$&.upcase} end def downcase_first sub!(/./){$&.downcase} end end -- eban