In a bash script, I would like to transform a string containing variable separated by ":" into an array.
I see that the proposed approach is usually