Skip to main content

SubsetReplace

SubsetReplace[list,rules] replaces sublists in list according to the specified rule or list of rules.

SubsetReplace[list,rules,n] does only the first n replacements.

SubsetReplace[rules] represents an operator form of SubsetReplace that can be applied to an expression.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.