String cast nodes
You can use a string cast node to convert a string value to an integer or a float.
If the input can't be cast to the required type, the output is zero and an error is displayed on the node.
Inputs:
The value to be converted.
Outputs:
The converted value.
The output depends on the chosen node, and is either an integer or a float.
If the cast is not valid, the output is zero.
Logic String Changed
Outputs true in the frame where the input value changes.
Inputs:
The string value to monitor.
Outputs:
True when the Input changes, but resets to false at the end of the frame.
String is Null or Empty
Outputs true is the input is either null or an empty string.
Inputs:
The string value to monitor.
Outputs:
True when the Input is either null (no input) or empty (zero length string).
Combines two strings into a single string.
Inputs:
Outputs:
The combined string of A followed by B.
Converts a reference to a string component to a string value.
Inputs:
Reference to a string component.
Outputs:
The string value from the Input component.
Assigns a value to a string component.
Inputs:
Flow to activate the node.
Reference to the string component for which a value will be set.
String value to assign to the component.
Outputs:
Continue the activating flow.
String Constant
Outputs a string value. An AFX graph cannot change the value of this node.
Outputs:
String Contains
Tests for the occurrence of one string within another.
Inputs:
The string to search within.
The string to search for.
Outputs:
True if Contains occurs within Input. False otherwise.
String Ends With
Tests whether a string occurs at the end of another string.
Inputs:
The string to search for at the end of Input.
Outputs:
True if Ends With occurs at the end of Input. False otherwise.
Inserts a string into another string at the given index.
Inputs:
The string to insert into.
The string to be inserted.
The character index at which to insert the string.
Strings are zero indexed.
Outputs:
Removes a specified number of characters from a string, starting at a given index.
Inputs:
The string value to monitor.
The character index of the first character to remove.
Strings are zero indexed.
The number of strings to remove.
Outputs:
Replaces all occurrences of a string within another string. The search is case sensitive.
Inputs:
The initial string to search within.
The string that will replace the found string.
Outputs:
String Starts With
Tests for the occurrence of a string at the beginning of another string.
Inputs:
The string to search within.
The string to search for at the start of Input.
Outputs:
True if Starts With occurs at the beginning of Input.
String Substring
Extracts a given number of characters from a given location within a string.
Inputs:
The string from which to extract characters.
The character index of the first character to extract.
The number of characters to extract.
Outputs:
The extracted characters.
String To Lower
Converts a string to all lowercase characters.
Inputs:
Outputs:
The value of Input, but with all letters in lowercase.
String To Upper
Converts a string to all uppercase characters.
Inputs:
Outputs:
The value of Input, but with all letters in uppercase.