My string is like this:
string input = \"STRIP, HR 3/16 X 1 1/2 X 1 5/8 + API\";
Here actually I want to extract the last word, \'API\', an
string input = "STRIP, HR 3/16 X 1 1/2 X 1 5/8 + API"; var a = input.Split(' '); Console.WriteLine(a[a.Length-1]);