I would keep it as List and then list.joint(',') to get the String.