Get String Length

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>

Argument
Description

<string> (Required)

Specify the string for which the length will be calculated.

Output Value

Argument
Description

<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

String
Input Value (syntax)
Result

Text Strings

Automation

10

Numeric Strings

123456

6

Special Character

14

Alphanumeric strings

ID202556

8

Last updated

Was this helpful?