How do I find the position of the Nth instance of a particular character in a string?
We've got indexOf() and lastIndexOf() to find the first and last at least.
For finding say just the second could use indexOf to get the first, then substring it, and then indexOf again on the resulting substrings.
But how to find the Nth, i.e. an arbitrary number?