Convert string to array

Per documentation this method should return an array