Documentation

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 TEXT function. Choose trim operation from the drop down and provide the values in the form.

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)}

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

Was this page helpful?