Short version -- How do I do Python rsplit() in ruby?
Longer version -- If I want to split a string into two parts (name, suffix) at the first \'.\' character, this
if this="what.to.do" you can do this:
this.split(%r{(.+)\.})
and you'll get back
["", "what.to", "do"]