Get String Length
Last updated
Was this helpful?
Last updated
Was this helpful?
This pre-built action, located under the @Generic Element, instructs Avo Assure to count the characters in a given string from the Input Value and store the string length in a dynamic variable.
Syntax
Input Value: <string>
<string> (Required)
Specify the string for which the length will be calculated.
Output Value
<Dynamic Variable>
(Required)
This variable stores the string length
<Dynamic Variable>
(Optional)
This variable stores the status as true or false
Example:
Get length of the given string
The Get String Length action takes the value from the Input Value column (Alice Johnson), calculates the number of characters including spaces, and stores the result in a variable {number of characters}. The operation status is stored in the {Status} variable, with the following possible values:
True – if the length calculated or
False – if the invalid input
Knowledge Bites: Below are some examples of different string scenarios
Text Strings
Automation
10
Numeric Strings
123456
6
Special Character
abc@domain.com
14
Alphanumeric strings
ID202556
8