If I have a string that has the word “red” occur n times in it. I want to be able to find the nth occurrence in the string.
Find “red” at 3rd occurrence should find bolded string:
“Alfred the Red Baron, loved autumn for its red auburn colors. But Alfred was sad as he no longer had red to paint the red auburn colors.”