Compare Text String
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.
Parameter Details
Current Value Shows the current value of the effect. Cannot be directly changed.
Compare Mode Choose 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.
Invert Invert the output value.
Inputs
These properties control the core behaviours of the node.
Parameter | Details |
---|---|
Current Value | Shows the current value of the effect. Cannot be directly changed. |
Compare Mode | Choose how to compare the input strings:
|
Invert | Invert the output value. |
Name | Description | Typical Input |
---|---|---|
Text String 1 | The first input string to compare with. | Text String |
Text String 2 | The second input string to compare against. | Text String |