Length of String
The Length of String node is used to determine the number of characters in a given string. This node calculates the total length of the string, including spaces, punctuation, and special characters, and returns the length as a numerical value. The resulting length can be stored in a new variable.
Properties Panel
General
Field
Description
Required
Variable Name
variable name to store result
true
String To find the length
Name of string to check the length
true
Example
Let's say that you want to find the length of string stored in $.variables.name
.
Set Variable name to
stringSize
.Set
String To find the length
to$.variables.name
.
It will store the length of string present in $.variable.name
. The variable $.variables.stringSize
will contain the length.
Returns
This node does not return any values but create a new variable with result . You can access it using magical autocomplete using $.variables.<Variable name>
Last updated