my_array=($(echo $string | tr "," "
"))
string="you got a friend in me"
IFS=' ' read -ra split <<< "$string"
echo "${split[*]}"
# Output: you got a friend in me
echo "${split[3]}"
# Output: friend
IFS='$SEP' read -r -a ARRAY <<< "$STRING"
IN="bla@some.com;john@home.com"
arrIN=(${IN//;/ })
IFS=', ' read -r -a array <<< "$string"