Left

This pre-built action, located under @Generic Element, instructs Avo Assure to fetch characters starting from the desired position on the left side of the string and store the result in a dynamic variable.

Syntax

Input Value: <string>;<position to fetch the string from>

Argument
Description

<string >

(Required)

It is the sequence of characters from which a specific portion is fetched from the right side

<position to fetch the string from > (Required)

Number of the characters to be fetched from Input String

Output Value:

Argument
Description

<Dynamic Variable> (Required)

This variable holds the leftmost characters of a string

<Dynamic Variable> (Optional)

This variable stores the status as true or false

Example:

Extract the first 3 characters from the string "Automation" The Left action allows the user to extract a value from the Input Value column (Automation) by fetching the first 3 characters. The extracted substring (Aut) is stored in the {Left Position} variable. The operation status is stored in the {Status} variable with the following possible values:

  • True – if the substring is successfully extracted

  • False – if the specified position is invalid or the input is empty

String
Input Value (syntax)
Result

Text Strings

Automation;3

Aut

Numeric Strings

123456;3

123

Special Character

abc@dom

Alphanumeric strings

ID2025;2

ID

Last updated

Was this helpful?