CompareString
Function name | CompareString |
---|---|
Function Library | Content/DRGLib/Sorting/LIB_F_Sort |
Inputs | A(String) B(String) |
Outputs | A>B(Boolean) |
Allows you to compare two strings alphabetically. Case insensetive.
Under the hood strings are converted to lowercase then compare the Unicode numbers per character. So this should in theory sort any set of strings, but no promises on how it will handle non-english text
Truth table:
Comparison | Result |
---|---|
A=”a” B=”a” | False |
A=”b” B=”a” | True |
A=”a” B=”b” | False |
A=”a” B=”A” | False |
A=”aa” B=”a” | True |
A=”Aa” B=”a” | True |
Node Appearance: