String s= "12345678";
a = s.substring(0,s.length()-5) 1234
b = s.substring(s.length()-5, s.length()) 56789