This cries for some substr method in Common::String. I can look at that, but someone would need to poke me about it again in the near future.