turned a string into an array