PHP String Str_Pad ( String Input, Int Length [, String Padding [, Int Type]] ) – String Function

<?
    $string = "Goodbye, Perl!";
    $newstring = str_pad($string, 2);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.