List of usage examples for java.lang Character codePointBefore
public static int codePointBefore(char[] a, int index, int start)
From source file:Main.java
public static void main(String[] args) { char[] c = new char[] { 'A', 'b', 'C', 'd' }; int index = 3, start = 1; int res = Character.codePointBefore(c, index, start); String str = "Unicode code point is " + res; System.out.println(str);//from www . ja va2 s .co m }