I would like to be able to split an authorization code by the
- character so that I can operate on each segment individually. I do not want to use external binaries (
grep) - this is to be as minimalistic as possible. What are some ways I can achieve this?
Here is an example auth code: