Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

DiffTools

Guides

  • Diff Tools

Tech Notes

  • Comparing Notebooks
  • Introduction to DiffTools

Symbols

  • AlignCellLists
  • BaseDiffStyle
  • Diff3
  • DiffApply
  • DiffGranularity
  • DiffInputFunction
  • DiffInvert
  • Diff
  • DiffObject
  • DiffView
  • IgnoreElements
  • IncludeMatches
  • MoreMatches
[
EXPERIMENTAL
]
Wolfram`DiffTools`
Diff
​
Diff
[original,new]
returns a representation of the diffs between
original
and
new
.
​
​
Diff
[original,new,format]
returns the differences in the indicated format.
​
Details and Options

Examples  
(26)
Basic Examples  
(3)
Find the diffs between two lists:
In[1]:=
Diff
[{1,2,3},{1,2,3,4}]
Out[1]=
​
Find the diffs between two strings:
In[1]:=
Diff
["This sentnce has two errors.","This sentence has no errors."]
Out[1]=
​
Format the
DiffObject
as a plain summary box:
In[1]:=
Diff
[{1,2,3},{1,2,3,4},"SummaryBox"]
Out[1]=
DiffObject
Type: Lists
Summary: 1 addition

Scope  
(5)

Options  
(10)

Properties & Relations  
(5)

Possible Issues  
(2)

Neat Examples  
(1)

SeeAlso
DiffApply
 
▪
DiffView
 
▪
SequenceAlignment
 
▪
Nearest
 
▪
Complement
 
▪
Diff3
TechNotes
▪
Introduction to DiffTools
▪
Comparing Notebooks
RelatedGuides
▪
Diff Tools
""

© 2025 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com