Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to get ascii value of string letter in java

char character = name.charAt(0); // This gives the character 'a'
int ascii = (int) character; // ascii is now 97.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #ascii #string #letter #java
ADD COMMENT
Topic
Name
1+2 =