Right
Last updated
Was this helpful?
Last updated
Was this helpful?
This is a pre-built action located under the @Generic element, instructs Avo Assure to extract characters starting from the right side of the string, and store the result in a dynamic variable.
Input Value: <string>;<position to fetch the string from>
<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)
It refers to the specific position in the string from which characters are fetched
Output Value
<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 specified position is invalid or the input is empty
Knowledge Bites: Below are some examples of different string scenarios
Text Strings
Automation;5
ation
Numeric Strings
123456;3
456
Special Character
abc@domain.com;6
in.com
Alphanumeric strings
ID2025;1
5