Help for this page

Select Code to Download


  1. or download this
    $foo = sprintf("%-10s", "Hello");
  2. or download this
    $String .= " " x (10-length($String));