<html>
<body>
$str = "Hello World";
echo str_pad($str,20,".");
</body>
<!-- Mirrored from www.w3schools.com/php7/phptryit.asp?filename=tryphp_func_string_str_pad by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 05 Jun 2019 13:41:45 GMT -->
</html>