Helix Installation   Getting Started   Reference Documentation   Global Functions   Quick Start
ModulesClassesFunctions
 

Function Reference

remove_trailing_slash ( string [""] )

Description
No description.
 
Parameters
optionalstring [""]
 
Code
076  function remove_trailing_slash($__string="")
077  {
078      if (substr($__string,-1)==="/")
079      {
080           return substr($__string,0,-1);
081      }
082      else
083      {
084          return $__string;
085      }
086  }
Get Helix PHP Framework at SourceForge.net. Fast, secure and Free Open Source software downloads