how to store one character from string javascript code example
Example: javascript only allow show first few characters from a string
var string = 'Hey, I am good';
string.substring(0,3); // show first 3 characters
//result "Hey"
var string = 'Hey, I am good';
string.substring(0,3); // show first 3 characters
//result "Hey"