Skip to content

← programming package

StringComparison

Determine the ordering of the first string relative to the second string.

Returns -1 if string1 comes before string2, 0 if they are equal, and 1 if string1 comes after string2. As with all string ops, None values are generally passed through. Version 1.0.0

Ports/Properties

string1

String 1.

verbose name
String1
default value
None
port type
DataPort
value type
str (can be None)
data direction
IN

string2

String 2.

verbose name
String2
default value
None
port type
DataPort
value type
str (can be None)
data direction
IN

result

Result of the check.

verbose name
Result
default value
None
port type
DataPort
value type
int (can be None)
data direction
OUT

localized

If set, use the current locale for string comparison.

verbose name
Localized
default value
False
port type
BoolPort
value type
bool (can be None)

set_breakpoint

Set a breakpoint on this node. If this is enabled, your debugger (if one is attached) will trigger a breakpoint.

verbose name
Set Breakpoint (Debug Only)
default value
False
port type
BoolPort
value type
bool (can be None)

metadata

User-definable meta-data associated with the node. Usually reserved for technical purposes.

verbose name
Metadata
default value
{}
port type
DictPort
value type
dict (can be None)