InstallAware for Windows Installer
 

Get String Position

This command obtains the position of a substring in a larger string. Both the string and the substring may be comprised of any combination of literal numbers, strings, and variables - the latter of which will be resolved fully before the position is queried.

Variable

This variable will return the one-indexed position of the substring in the string (if the string starts with the substring, it will return 1), or if not found, 0.

Substring

Type the substring to search for in this field.

String

Type the string to search for the substring within in this field.

Ignore Case

Uncheck this box to conduct a case sensitive search.