From: Matt Slay Date: 2010-12-05T07:20:30+09:00 Subject: Re: Split a string at a certain character Josh Cheek wrote in post #966218: > def mysplit(str) > str[/^(\d+(?:\.\d+)?)\s*([^$]*)$/] > return $1 , $2 > end Josh - Well, this looks both simple and powerful as well. You all are obviously some smart Ruby experts. I'm gonna test your regular expression and compare it to the one from Peter to see if I can see the fine points between them both. Thanks for taking the time to respond. I especially like that testing thing you showed me. I need to study that as well. -- Posted via http://www.ruby-forum.com/.