substr() public method
Return part of a file.
public string|false substr ( $start, $length )$start integer
Reading start position. If non-negative, the returned string will start at the start'th position in file, counting from zero. If negative, the returned string will start at the start'th character from the end of file. $length integer
Number of bytes to read. If given and is positive, the string returned will contain at most length characters beginning from start (depending on the