Splitting a string in bash

I found this little trick to split a string in bash, so I’m sharing. Maybe it’s obvious to some people, but I don’t do a lot of shell scripting, so it was helpful to me.

BASH: Split a string without ‘cut’ or ‘awk’