Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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
1+4 =