ProtoFlux:Compare Strings: Difference between revisions

From Resonite Wiki
fixed microsoft link
fix spacing
 
Line 38: Line 38:


== Examples ==  
== Examples ==  
<gallery widths=480px heights=480px>
<gallery widths=480px heights=480px>
File:Protoflux_example_Compare_Strings.webp|An example of comparing strings to tell if there's a difference between 2 text displays.
File:Protoflux_example_Compare_Strings.webp|An example of comparing strings to tell if there's a difference between 2 text displays.

Latest revision as of 22:43, 17 February 2024

Compare
A
*
B
ComparisonType
Strings

Comapre Strings is a ProtoFlux node that allows you to tell the difference between two different strings as a whole number. The comparison used is based on Comparing Strings Microsoft 4.6.2

Inputs

A (String)

The string to compare from.

B (String)

The string to compare to.

ComparisonType (StringComparison)

The string comparison to use.

Outputs

* (int)

The difference between the strings. can be positive or negative.

Examples