Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java string get ith char

String text = "foo";
char charAtZero = text.charAt(0);
System.out.println(charAtZero); // Prints f
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #string #ith #char
ADD COMMENT
Topic
Name
2+9 =