From: "DanDiebolt.exe" Date: 2009-02-05T16:18:34+09:00 Subject: Re: a simple command that splits up a string into numbers and letters --0-66307865-1233818347=:23771 Content-Type: text/plain; charset=us-ascii I sort of got hung up on doing this with split. Using scan might be easier than split. However it is worth noting that when you are splitting on a pattern you can keep what the pattern matches in the results array by capturing with a set of ()s. Compare these two statements: irb> 'a,b,c'.split(/(,)/) => ["a", ",", "b", ",", "c"] irb> 'a,b,c'.split(/,/) => ["a", "b", "c"] --0-66307865-1233818347=:23771--