substring_var()

 
Returns the substring of string, beginning at position start, length characters long. This function is identical to substring() but its first parameter is passed by reference, improving performance when dealing with large strings.
Syntax
substring_var( string var, position, length )
User Annotations: substring_var