String address = "1234 main street";
String[] tokens = address.split(" ");
System.out.println(tokens[0]+" "+tokens[1].substring(0,2));
3
solved Java code Char and Int [closed]
String address = "1234 main street";
String[] tokens = address.split(" ");
System.out.println(tokens[0]+" "+tokens[1].substring(0,2));
3
solved Java code Char and Int [closed]