Ideas2IT interview question

split the string and convert to the array.