Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

rpad ( string , size , char [" "] )

Description
No description.
 
Parameters
requiredstring
requiredsize
optionalchar [" "]
 
Code
672  function rpad($string, $size, $char=" ")
673  {
674      $padding = $size-strlen($string);
675      for ($i=1; $i<=$padding; $i++)
676      {
677          $string = $string . $char;
678      }
679      return $string;
680  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads