http://www.blackbeltcoder.com/Articles/strings/a-sscanf-replacement-for-net