Skip to content

Substring function

This function is used to find substring from a string using start index and end index. This function takes in three parameters and its output is stored in a variable defined in Element Key.

Select SET command from the action dropdown and provide a variable name in Element key where output will be stored, edit parameter section and click on Form, select functions from the dropdown and select SUBSTRING function and provide input string, start index and end index and click on save icon.

First parameter: main string.
Second parameter: start index.
Third parameter: end index.

After completing the step, it will look as below:

Syntax: ${__substring(main string,start index,end index)}

${__substring(Hello Test User, 6,10)} Output: Test

Back To Top