#!/bin/bash test="a:b:c:d" new=() array -j ':' new $test declare -p new