Index of Function

Simran Mehndiratta
Simran Mehndiratta
  • Updated

Function Name:

Index of

Purpose:

The Indexof function searches for a string within the input value and returns the index of the first occurrence of the specified string. The output of this function will be a number. -1 is returned when the function does not find the search string within the input.

Configuration:

1. Enter a Display label for the node. This will be helpful with identifying the node when viewing your Entity Pipeline.

2. Enter a Description that will explain the criteria configured.

3. Enter the Search String. This will be searched within the input value. 

Examples:

- If the Input = null and the Search String = "car", the function will output -1.

- If the Input = "I love Syncari!" and the Search String = "hello", the function will output -1.

- If the Input = "Syncari" and the Search String = "car", the function will output 3. Note the first index is 0. 

 

Share this

Was this article helpful?

0 out of 0 found this helpful