Use Regex.
However, if you would like to try a DIY solution without any Regex research/learning...
- set test string variable to ""
- set integer variable to -1
- repeat while test string variable is not •
- increase integer variable value by 1
- copy source string character at integer variable...