Skip to content

← programming package

StringTrim

Trim whitespace or other characters from one or both ends of a string.

Version 1.0.0

Ports/Properties

string

String to process.

verbose name
String
default value
None
port type
DataPort
value type
str (can be None)
data direction
INOUT

chars

Characters to trim. If not given, then whitespace is trimmed.

verbose name
Chars
default value
None
port type
StringPort
value type
str (can be None)

side

Which side to trim.

verbose name
Side
default value
both
port type
EnumPort
value type
str (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)