Ogranicz znaki Wyświetl JavaScript
var str = 'Some very long string';
if(str.length > 10) str = str.substring(0,10);
Dayanaohhnana
var str = 'Some very long string';
if(str.length > 10) str = str.substring(0,10);