public class testcount {
public static void main(String[] args) {
int c;
String test = "ABCD1234";
}
}
How can I convert from String test
to int c
and the answer is 1234
?
public class testcount {
public static void main(String[] args) {
int c;
String test = "ABCD1234";
}
}
How can I convert from String test
to int c
and the answer is 1234
?