Used join to create a string from an array, and then used splace to modify a string to an array.