Issue #4414 has been updated by shyouhei. Description updated Status changed from Open to Rejected Please use unpack instead. ---------------------------------------- Feature #4414: Addition to String.split https://bugs.ruby-lang.org/issues/4414#change-24905 Author: lorensr Status: Rejected Priority: Low Assignee: Category: Target version: =begin I'm wondering whether the following feature is acceptable before I work on a patch: When String.split is given one or more integer arguments, the string is divided at those indices. str = '1.9ruby30932' version, language, revision = str.split(3, 7) Thanks, Loren =end -- http://bugs.ruby-lang.org/