Split string at first space
c#, split
Solution
var myString = "1. top of steel";
var newString = myString.Remove(0, myString.IndexOf(' ') + 1);
Problem
I'm trying to split a string at the first space and only keep the 2nd half. So if the input was "1. top of steel", the output would be "top of steel". I'm working with a few different examples from here and I cant get it to work. Thoughts? Thanks.