Added function to convert participant string to array.