Answers for "bash string split iterate"

1

split bash string

IN="[email protected];[email protected]"
arrIN=(${IN//;/ })
Posted by: Guest on April-29-2020
1

bash split string into array

IFS=', ' read -r -a array <<< "$string"
Posted by: Guest on April-17-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language