Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Ascii Code JS

// Pick a string. Your string can have any number of characters.
var my_string = "a";

// Calculate the ASCII value of the first character, i.e. the character at the position 0. 
var ASCII_value = my_string.charCodeAt(0);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Ascii #Code #JS
ADD COMMENT
Topic
Name
1+7 =