I have two questions.
The first question is how to use splits in duplicate ??
If the variable name is a1, is it possible to write a1.split ("@“C) .last and then use “-” and split again for the values in it? a1.split (”@"C) .last.split ( ”- "C) I get an error when I write .first like this.
The second question is a1.split("@".ToCharArray) (3) If you do this, I think the 4th value should come from the values divided by @ among the variables of a1. However, if you print on the write line, an empty value is output.