Project

General

Profile

Feature #4414

Updated by shyouhei (Shyouhei Urabe) over 13 years ago

=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 
 

Back