String Comparison

The input will contain two columns containing strings. The comparison of the strings is returned as HTML where deleted characters are highlighted in red and inserted characters are highlighted in green.

This node uses the algorithm from googles diff-match-patch library.

Additional information on the change is provided in terms of counts of character insertions, deletions and equality. These counts are simply how many characters are in the text for deletion elements, how many are in the text for insertion elements and finally how many are in the text for equal elements. The % change is simply the proportion of characters in the deletion and insertion vs the equal diff elements.

Options

First Column
Column containing first string
Second Column
Column containing second string
Retain white space
If selected spaces will be replaced with with a non-breaking space and new lines with breaks

Input Ports

Icon
Input containing two columns with strings (or cells compatible with string value) for comparison.

Output Ports

Icon
Output containing the highlighted changes as an HTML formatted string with inline styles.

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.