The standard method for splitting string
String [] arr = s.split (regex);
Cuts the pieces out and removes the found regex. Is the a method that does the opposite?
NOTE: In my case there is nothing between the regex
Example:
Input
s = "320,192,6057,1,0,0:0:0:0:64,192,6327,128,0,7408:0:0:0:0:";
Output
arr[0] = "320,192,6057,1,0,0:0:0:0:";
arr[1] = "64,192,6327,128,0,7408:0:0:0:0:";