Adding a couple of useful extensions to the String type in Dart, to find if a string contains another string more than once.
I recently came upon this issue while working on Shortcut Keeper, my Flutter desktop app.
I … Continue reading “Finding the second (or nth) occurrence of a string in Dart”