Here is a Java Program to determine the Unicode code point in string
Output of Above Java Program
String under test is = Welcome to JavaProgramming
Unicode code point at position 5 in the string is = 111
class StringUniCode{ public static void main(String[] args){ String test_string="Welcome to JavaProgramming"; System.out.println("String under test is = "+test_string); System.out.println("Unicode code point at" +" position 5 in the string is = " + test_string.codePointBefore(5)); } }
Output of Above Java Program
String under test is = Welcome to JavaProgramming
Unicode code point at position 5 in the string is = 111