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.
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.