extract(3)

NAME
extract() - extract a substring from a string

SYNOPSIS
string extract( string str, int from, int to );

DESCRIPTION
extract() returns as a string the characters in <str> from <from> to <to>, inclusive. The first character in the string is number 0. If <to> isn't specified, the string will be from character <from> to the end of the string.

SEE ALSO
sscanf(3), explode(3)