Compare Text Documents

by Internal Labs

1

5.1k

Compare Text Documents

by Internal Labs

1

Custom Activity

5.1k

carouselImage0

Summary

Summary


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<string, string>> 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


Additional Information

Additional Information

Dependencies


Code Language

Visual Basic

Runtime

Windows Legacy (.Net Framework 4.6.1)

Publisher

Internal Labs

Visit Publisher's Page

License & Privacy

License Agreement

Privacy Terms

Technical

Version

1.0.1

Updated

26 Mar 2020

Works with

UiPath V7

Certification

Silver Certified

Tags

myers-algorithm

Support

UiPath Community Support