SUB - Subset Command

Returns the portion of a string or list defined by specified positions, or returns the rectangular portion of a graphics object or PICT defined by two corner pixel coordinates.

Level 3Level 2Level 1->Level 1
"stringtarget"nstartpositionnendposition->"stringresult"
listtarget }nstartpositionnendposition->listresult }
grobtarget#n1 #m1 }#n2 #m2 }->grobresult
grobtarget(x1,y1)(x2,y2)->grobresult
PICT#n1 #m1 }#n2 #m2 }->grobresult
PICT(x1,y1)(x2,y2)->grobresult

Adrian Drury
Last modified: Sun Jun 21 16:48:55 EDT 1998