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.
split(\' \')
f.e. \"THIS IS
\"THIS IS
Try this
string str = "THIS IS AN AMAZING STRING"; string firstString = str.Split(' ')[0]; //get the first string string newStr = str.Replace(firstString + " ", ""); //remove the first string //OR string newStr = str.Remove(0, firstString.Length + 1);