Rubix Wires: String Nodes
This article describes the Rubix Wires nodes that are in the String category.
String
The `String` category contains nodes that are used for manipulating string data.
String-Join
This node joins multiple input strings into a single output string.
- [string 1] - String input value 1.
- [string 2] - String input value 2.
- [string x] - x-th string input value. Where x is any subsequent string input set from the node settings.
Outputs
- output - String output of all input strings joined in order.
Settings
- Name - Name of the node.
- Inputs count - Configures the number of string inputs.
- string 1/string 2/string x... - Input values can be set from settings as a fallback from wired input values.
Operation
This node takes string inputs and concatenates/joins them to produce a string 'output'. The number of inputs can be modified from settings. `output` is a string of all string inputs joined together in order.
This node outputs the number of characters in the string input value.
- input - String input value.
Outputs
- output - Number of characters in `input` string. Spaces are included in the character count.
Settings
- Name - Name of the node.
Operation
‘output' is the number of characters in the string 'input' value.
This node searches for a substring within a main `input` string. The node outputs the index of the first matching substring location in the main `input` string.
- [input] - String value to be searched (main string).
- [searchFor] - Substring to be searched for in the `input` string.
Outputs
- startIndex - Numeric index of the first character of the first occurance of the `searchFor` substring within the `input` string. Value will be `null` if there is no matching substring in the `input` string. The first character of the `input` string is index 0.
- endIndex - Numeric index of the last character of the first occurance of `searchFor` substring within the `input` string. Value will be `null` if there is no matching substring in the `input` string. The first character of the `input` string is index 0.
Settings
- Name - Name of the node.
- Input Value - String `input` value. Set from settings as a fallback from wired input value.
- Search For Value - String `searchFor` value. Set from settings as a fallback from wired input value.
Operation
This node takes string 'input' and 'searchFor'. Numeric 'startIndex' is the index (position) of the first character of the first instance of `searchFor` string within `input`. Numeric `endIndex` is the index (position) of the last character of the first instance of `searchFor` string within `input`. Index of 0 is the beginning of the 'input' string. 'startIndex' and `endIndex` will be `null` if the `searchFor` string is not a substring of `input` string. Search is case sensative.
This node splits an `input` string into substrings using a `separator` string to split up the `input` string. The node outputs the substrings in order as triggered by boolean `start` and `next` inputs.
- input - String value to be split up by the `separator` string.
- separator - String/character value that the`input` string will be split up by. This string/character will not be included in the `output` substrings. Space is a valid `separator` value.
- start - Boolean input used to trigger the first substring to be sent to `output`. On `false` to `true` transition `output` value will be the first substring of the `input` string, separated by the `separator` string.
- next - Boolean input used to trigger the next substring to be sent to `output`. On `false` to `true` transition `output` value will be the next substring of the `input` string, separated by the `separator` string.
Outputs
- output - String output value. The value update/change is triggered by `start` and `next` boolean inputs `false` to `true` transitions.
- left - Number of substrings in the `input` string (separated by `separator` string) that have not yet been sent to `output`.
Settings
- Name - Name of the node.
- Separator Value - Character/string value of `seperator`. Set from settings as a fallback from wired input value.
Operation
Portions of the string ‘input’ are sent to the string ‘output’ sequentially when ‘next’ transitions from ‘false’ to ‘true’; these ‘output’ strings are portions of the ‘input’ string split by the string ‘separator’ value. ‘left’ outputs the number of ‘output’ strings remaining to be sent. When ‘start’ transitions from ‘false’ to ‘true’, the ‘output’ string will go back to the first substring of the ‘input’ string.
This node transform an `input` string to an all uppercase, all lowercase, or first character capitalized `output` string.
- input - String input value.
Outputs
- output - String output value. `input` string converted to all Upper case
Settings
- Name - Name of the node.
- Select Case - Drop-down for case selection. Select from `Lower Case`, `Upper Case`, or `First Character to Upper Case`.
Operation
‘output' is the 'input' string with all characters changed to either upper case, lower case, or first letter of each word capitalized. Case change type can be selected from settings.
- Rubix Wires: Working with Nodes
Related Articles
Rubix Wires: Dashboard Nodes
This article describes the Rubix Wires nodes that are in the Dashboard category. Dashboard The `Dashboard` category contains nodes that interact with the Wires Dashboard. The Wires Dashboard provides a way to interact with the nodes/flows built in ...
Rubix Wires: Widget Nodes
This article describes the Rubix Wires nodes that are in the Widgets category. Widget The `Widget` category contains nodes that are used in conjunction with an external user interface. These nodes are often used to support extended functions from ...
Rubix Wires: Latch Nodes
This article describes the Rubix Wires nodes that are in the Latch category. Latch The `Latch` category contains value latching functionality for each data type. Latch nodes will maintain an output value between trigger events. Any-Latch This node ...
Rubix Wires: Connection Nodes
This article describes the Rubix Wires nodes that are in the Connection category. Connection The Connection category contains nodes that can send and receive data values without the need for wire link connections. Link-Transmitter-Single This node is ...
Rubix Wires: JSON Nodes
The `JSON` category contains nodes that are used to parse and manipulate data to and from standardised JSON objects and JSON strings. JSON JSON-Filter-Multiple This node extracts properties/values from JSON data by string key/identifier. A node ...