JS только первые 50 букв
'Hiya how are you'.substring(0,50);
GutoTrosla
'Hiya how are you'.substring(0,50);
var string = 'Hey, I am good';
string.substring(0,3); // show first 3 characters
//result "Hey"