bash split variable by delimiter

Shell
IFS='|' read -r -a arrayName <<< "$variable"IN="[email protected];[email protected]"
arrIN=(${IN//;/ })
Source

Also in Shell: