separate file string by # in bash code example Example: split bash string IN="[email protected];[email protected]" arrIN=(${IN//;/ })