I have the following string:
String result = "@sequence@A:exampleA@B:exampleB";
I would like to split this string into two strings like this:
String resulta = "sequence";
String resultb = "@A:exampleA@B:exampleB";
How can I do this? I'm new to Java programming language.
Thanks!