From: Harry Kakueki Date: 2012-06-08T13:09:50+09:00 Subject: Re: Best way to partition a string > > I need to divide the string into "ABCD" and "12A2012" i.e. right at the > start of a number in the string > Does this work? str = "ABCD12A2012" p str.split(/(\d.*\z)/) #> ["ABCD", "12A2012"] Harry