DiffGranularity

DiffGranularity

is an option to Diff and related functions that indicates with what granularity to compare the given expressions.

Details

Examples

open allclose all

Basic Examples  (1)

By default, strings are compared as a sequence of characters:

Use DiffGranularity to treat strings as a sequence of lines instead:

Properties & Relations  (1)

Use DiffGranularity to perform a diff of the raw text of notebook files, line by line:

Wolfram Research (2024), DiffGranularity, Wolfram Language function, https://reference.wolfram.com/language/ref/DiffGranularity.html.

Text

Wolfram Research (2024), DiffGranularity, Wolfram Language function, https://reference.wolfram.com/language/ref/DiffGranularity.html.

CMS

Wolfram Language. 2024. "DiffGranularity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/DiffGranularity.html.

APA

Wolfram Language. (2024). DiffGranularity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DiffGranularity.html

BibTeX

@misc{reference.wolfram_2024_diffgranularity, author="Wolfram Research", title="{DiffGranularity}", year="2024", howpublished="\url{https://reference.wolfram.com/language/ref/DiffGranularity.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_diffgranularity, organization={Wolfram Research}, title={DiffGranularity}, year={2024}, url={https://reference.wolfram.com/language/ref/DiffGranularity.html}, note=[Accessed: 21-November-2024 ]}