String length javascript

Javascript str.length calculates the string length.

<script>
var x = 'This is javascript.';

document.write('String length - '+x.length);
</script>

Related Sourcecode

More Sourcecode

×
Google login
SignUp with Email
X