Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

java String to int

String str = "ab";
char[] ch  = str.toCharArray();
System.out.println("position 0 = " + (int)ch[0]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #String #int
ADD COMMENT
Topic
Name
2+6 =