From: "Jan E." Date: 2012-06-08T04:40:41+09:00 Subject: Re: Best way to partition a string Hi, You can use String#split with a lookahead regex and a limit of 2: str = "ABCD12A2012" p str.split /(?=\d)/, 2 -- Posted via http://www.ruby-forum.com/.