Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / Rule Application /

ReplaceList

FilledSmallSquare ReplaceList[expr, rules] attempts to transform the entire expression expr by applying a rule or list of rules in all possible ways, and returns a list of the results obtained.

FilledSmallSquare ReplaceList[expr, rules, n] gives a list of at most n results.

FilledSmallSquare When no transformation is possible, ReplaceList returns {}.

FilledSmallSquare See notes for Replace.

FilledSmallSquare See Section 2.3.2 and Section 2.5.1.

FilledSmallSquare See also: Cases, StringPosition, Trace, Position, Split.

FilledSmallSquare New in Version 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.