I do a split(\' \')
over an string and I want to pull the first element of the returned string in order to get the rest of the string.
f.e. \"THIS IS
A fairly good option would be to use:
string original = "THIS IS AN AMAZING STRING";
string[] split = original.Split(new []{' '}, 2);
string result = split[1];
Note that, if you just want the resulting string, you can shorten this:
var result = original.Split(new []{' '}, 2)[1];
By using the overload of string.Split which takes a max number of splits, you avoid the need to join as well as the extra overhead.