I have String name = "admin";
then I do String charValue = name.substring(0,1); //charValue="a"
I want to convert the charValue
to its ASCII value (97), how can I do this in java?
I have String name = "admin";
then I do String charValue = name.substring(0,1); //charValue="a"
I want to convert the charValue
to its ASCII value (97), how can I do this in java?