Diff
Diff[first, second] returns a representation of the diffs between first and second.
Diff[first, second, format] represents the diffs in the indicated format.
Examples
Diff["hello world", "hello there"]Diff[{1, 2, 3, 4}, {1, 3, 4, 5}]Something isn't working? Report an issue.
Please visit the official Wolfram Language Reference for more details.