I have a string in an Array that contains two commas as well as tabs and white spaces. I\'m trying to cut two words in that string, both of them before the commas, I really
You have to use code like this.
int index = s.IndexOf(',', s.IndexOf(',') + 1);
You may need to make sure you do not go outside the bounds of the string though. I will leave that part up to you.