Notch Notch Manual 1.0
 Light | Dark
Compare Text String

Compare Text String

Compares two text strings.

Method #

This node compares two Text String nodes.

When using the Simple compare mode, a return value of zero indicates that strings match otherwise a value of one is returned.

When using the Levenshtein Distance mode, the returned value is between zero and one, which indicate how different the input strings are.

The output is a numeric value that can be further processed with other modifiers, or directly connected to a parameter in another node.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Current ValueShows the current value of the effect. Cannot be directly changed.
Compare ModeChoose how to compare the input strings:
  • Levenshtein Distance : Calculate the difference using the Levenshtein distance technique. Outputs a value between 0 and 1.
  • Simple : Performs a simple string comparison to determine if the input strings are the same or not. Outputs a value of either 0 or 1.
InvertInvert the output value.

Inputs

NameDescriptionTypical Input
Text String 1The first input string to compare with.Text String
Text String 2The second input string to compare against.Text String