WLJS LogoWLJS Notebook

DiffApply

DiffApply[diffobj, expr] returns the result of applying the given DiffObject to the expression expr.

DiffApply[diffobj, expr, File["file"]] writes the result of changing expr to file.

Examples

Apply a diff to an expression:

diff = Diff["abc", "aXc"];
DiffApply[diff, "abc"]
(* "aXc" *)

Please visit the official Wolfram Language Reference for more details.

On this page