<html>
<body>
echo strlen("Hello world!");
<p><b>Note:</b> Whitespaces and exclamation marks are also a part of the string ("HelloWorld" would return 10).</p>
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_string_strlen2 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 02:51:07 GMT -->
</html>