split a word based on index in java code example
Example: split string by index java
String s ="123456789abcdefgh";
String sub = s.substring(0, 10);
String remainder = s.substring(10);
String s ="123456789abcdefgh";
String sub = s.substring(0, 10);
String remainder = s.substring(10);