IndexOf

The ‘IndexOf()’ function searches for specific instances of characters in a source text. It searches from the indicated beginning of the text and displays the first search result found. If no instance is found, then the value 0 is returned.

Note: In the source text the first character is in position 1.

Can be used in: mailing text, actions

Syntax

IndexOf(SourceText, SearchText, SearchStart)

Result

Indicates the position of a specific character string, type: integer

Parameter:

  • Source text
  • Search text
  • Search start

 

  • String to be searched in, Type: Text
  • String, to be searched for in the source text, Type: Text
  • The position the search should start, Type: Integer