If you have charArray convert it to string then split it using char ','.
You will get 2 string values.
Convert the first string to charArray and that your required output.
string arrayString = Convert.ToString(charArray);
string[] splitString = arrayString.Split(new char[] { ',' }, StringSplitOptions.None);
char[] output = splitString[0].ToCharArray();