UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: subChapter 11
The Awk Scripting Language
Next: Reference: system
 

substr

substr(string,m,[n])

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.


Previous: Reference: subUNIX in a Nutshell: System V EditionNext: Reference: system
Reference: subBook IndexReference: system

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System