how to cut an string to get only first 100 chars 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"