String.charat(index)
Returns the char value at the specified index.
/**
* @author lautturi.com
* Java example: java string charat method example
*/
import java.util.*;
public class Lautturi {
public static void main(String[] args) {
String str = "Lautturi java world";
char ch = str.charAt(9);
System.out.println("char:"+ch);
}
}