Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

find numeric Unicode value of the character with charCodeAt() method

'ABC'.charCodeAt(0); // returns 65

var str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; 
document.write(str.charCodeAt(str.length - 1));

// Output: 90
Source by forum.freecodecamp.org #
 
PREVIOUS NEXT
Tagged: #find #numeric #Unicode #character #method
ADD COMMENT
Topic
Name
2+4 =