Java tutorial
public class Main { public static void main(String[] args) { char[] c = new char[] { 'j', 'b', 'c', 'd', 'e' }; int index = 2; int res = Character.codePointBefore(c, index); String str = "Unicode code point is " + res; System.out.println(str); } }