Problem about convert array of string to char using toCharArray