check en javascript

string.length
Thyago Mac