February 2013
Intermediate to advanced
538 pages
20h 55m
English
substr
string substr(stringstring, intoffset[, intlength])
Returns the substring of string. If
offset is positive, the substring starts at
that character; if it is negative, the substring starts at the
character offset characters from the
string’s end. If length is given and is
positive, that many characters from the start of the substring are
returned. If length is given and is
negative, the substring ends length
characters from the end of string. If
length is not given, the substring contains
all characters to the end of string.
Read now
Unlock full access