hello,
how can i get for example the integer codeInt=082 from String code='A082' i have tried this:
int codeInt = Integer.parseInt(code.substring(1,4));
and i get codeInt=82 ,it leaves the first 0 but i want the full code '082'.
i thought of parseInt(String s, int radix)
but i don't know how .
any help will be appreciated .
thanks.