Find Nth occurance of a character in a string
- by jozi
I need help with creating a C# method that returns the index of the Nth occurance of a character in a string.
For instance, the 3rd occurance of the character 't' in the string "dtststx" is 5.