Say I have a string "45 minutes. 5 minutes", and I want to find the range of the "5 minutes".
let example = "45 minutes. 5 minutes"
let range = example.range(of: "5 minutes")
Instead of returning a range matching the standalone "5 minutes", it matches the end of the "45".
let example = "45 minutes. 5 minutes"
|–––––––| // ← This is the match
|–––––––| // ← This is what I am after
So how would I find the range of what is technically the second occurrence of the string.