Name

substr

Synopsis

substr( string,m[,n])

Description

Return substring of string beginning at character position m and consisting of the next n characters. If n is omitted, include all characters to the end of string.

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.