I have a String
String test = "7462356098660AE";
I want to split it into:
test1 = "746";
test2 = "2356";
test3 = "0986";
test4 = "60AE";
The length of the String test will be always the same.
How will I be able to do this?
PS: I have checked other questions but couldn’t find a suitable answer.
1 Answer