--- title: subtring --- ## Substring Function in PHP The Substring function in PHP returns a portion of the string, specified by two parameters, the start and the length. ## Syntax The substring function is used like any other function in php, and uses the subtr() syntax. ```