What's the best way in c# to extract subtrings of a longer string like:
String str = "Car: volvo Wheels: 4 doors: 5";
Lets say I want the values volvo, 4, 5 inserted into
string car string wheels string doors string newStr = str.Substring(read.IndexOf(':'), read.IndexOf(" "));
then after I have extracted the first String I'd remove that part
string str = strRemove(0, read.IndexOf(" ") + 1);
Then repeat this until everything was extracted. It's just tedious, and thought there would be a better way.