Podziel ciąg i utwórz tablicę tablicy
my_array=($(echo $string | tr "," "\n"))
Prickly Pheasant
my_array=($(echo $string | tr "," "\n"))
IN="[email protected];[email protected]"
arrIN=(${IN//;/ })
IFS=', ' read -r -a array <<< "$string"