Find String

Use the Find String activity to search for specific content in a string. This activity can search for a character, word, sentence, or other valid string within the source.

You can manually enter the Source String and Searched string values or use variables such as the output from other workflow activities, sub-workflows, or atomic actions that occur earlier in the workflow.

This activity will complete successfully as long as the Source String and Searched String inputs are valid, even if no match is found in the Source String.

Usage

Complete the following properties to use this activity:

  • Find String - Enter the following information or click the Variable Reference icon to choose a variable.
    • Source String - Enter the source string.
    • Searched String - Enter the specific string you want to locate.

The output of this activity includes a True or False value in the Has Match field and each occurrence of the searched string will populate a new row in the Matches table. The entries in the Matches table include the beginning and ending index positions for each occurrence of the searched string.

Index positions within the string are sequentially numbered starting with 0. For example:

  • Source String: dictionary
  • Searched String: ion
  • Beginning Index: 4
  • End Index: 6