display just a 20 first letter of string js 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"