String - Find

Finds the location of a sub-string within a string.

Action ID:
Action Category:
Action List Syntax:

21
String
<<VARIABLE>>
= String.Find (<<SOURCESTRING>>, <<SOURCESTRING>>, <<STARTAT>>)

Settings

Store result in variable:

The variable that the result will be stored in. If the sub-string is found, the result will be a zero-based index describing the position where the sub-string was found in the string. If the sub-string is not found, the result will be -1.

Search in:

The string to search in.

Search for:

The sub-string to search for.

Start at position:

The zero-based position in the Search in string to start searching from. Use -1 to start searching from the last character in the Search in string.

Search direction:

Determines whether to search forward (to the right) or backward (to the left) from the Start at position index.

Search is case sensitive:

If checked, the search will be case sensitive.

Error Codes

Value
(%LastErrorNum%)

Simple Message
(%LastErrorMsg%)

Verbose Message
(%LastErrorDetails%)

0 (OK)

 

 

Examples

None