convert string to array bash code example Example: string to array bash IFS='$SEP' read -r -a ARRAY <<< "$STRING"