.\"extract a substring from a string .DT extract Discworld driver help extract Name .SI 5 extract() - extract a substring from a string .EI Synopsis .SI 5 string extract( string str, int from, int to ); .EI Description .SP 5 5 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. .EP See also .SI 5 sscanf(3), explode(3) .EI