MarketplaceStudioActivityCompare Text Documents

Create your first automation in just a few minutes.Try Studio Web

Compare Text Documents

Compare Text Documents

by YouTube

1

Activity

Downloads

149

back button
back button
carouselImage0
next button
next button

Summary

Summary

Compare two blocks of plain text and efficiently return a list of differences.

Overview

Overview

Compare Text activity implements Myer's diff algorithm which is generally considered to be the best general-purpose diff.

Example:

Input:

  • Text1: "Hello World."
  • Text2 "Goodbye World."

Output:

  • List<KeyValuePair> of differences is computed which describe the transformation of text1 into text2.
  • The first element specifies if it is an insertion (1), a deletion (-1) or an equality (0). The second element specifies the affected text.
  • Therefore the result for the above Text1 and Text2 is: [(DELETE, "Hello"), (INSERT, "Goodbye"), (EQUAL, " World.")]

Features

Features

There are many use cases especially in Legal processes.

Additional Information

Additional Information

Dependencies

Macros: Page Properties, Status

Code Language

C#, Visual Basic

Runtime

Windows Legacy (.Net Framework 4.6.1)

Publisher

YouTube

Visit publisher's page

Trusted Source

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0.1

Updated

December 5, 2023

Works with

Studio: 22.10.2+

Certification

Silver Certified

Tags

Application

Support

UiPath Community Support

Similar Listings