5.12.24 Sub-expression of an expression: part
The part command finds subexpressions of an expression. (See
Section 3.3.2.)
- part takes two arguments:
- expr, an expression.
- n, an integer.
- part(expr,n) evaluates expr and
then returns the nth sub-expression of expr.
Examples