PHP left(), Right()

PHP equivalent of the VBScript ASP Left() and Right() functions?
left: substr(string, 0, left);
right: substr(string, strlen(string) - right - 1);
Related Scribbles:
  • PHP Syntax and other Notes


  • ID: 129
    Author:
    Leonard
    Date Updated:
    2003-12-23 00:22:55
    Date Created:
    2002-09-23 00:12:31

    Edit

    Comments?
     >> Leonard Chan's Homepage  >> Scribble Web  >> PHP left(), Right()
    leonard.lotus-land.ca is hosted by Perceptus Solutions Inc.