in reply to Split string into array

What have you tried? Did you take a look at split?