Right

This pre-built action located under @Generic Element. The functionality of this action in Avo Assure is to extract characters starting from the right side of the input string and store the result in a dynamic variable.

Syntax

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

Argument
Description

<string > (Required)

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

<position to fetch the string from right> (Required)

Provide the count of characters to extract from the left side of the given string. Count number must be a positive integer. Note: Index starts from 1.

Output Value

Argument
Description

<Dynamic Variable>

(Required)

This variable holds the rightmost characters of a string

<Dynamic Variable>

(Optional)

This variable stores the status as True or False

Example:

Extract the Last 3 Characters from the String "Automation"

The Right action allows the user to extract a value from the Input Value column (Automation) by fetching the last 3 characters. The extracted substring (ion) is stored in the {Right string} 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 input value is missing or the input is empty

  • None/Blank: if the specified position is invalid

String
Input Value (syntax)
Result

Text Strings

Automation;5

ation

Numeric Strings

123456;3

456

Special Character

in.com

Alphanumeric strings

ID2025;1

5

Last updated

Was this helpful?