Skip to main content

Find text position

Text·v1.0.0
TextLow risk

Find the position of a substring within text

Inputs

NameTypeRequiredDefaultDescription
Text to Search In
inputText
expressionRequired
Text to Find
searchText
expressionRequired
Start From Position
startPosition
numberOptional0Position to start searching from (0-based)
Case Sensitive
caseSensitive
booleanOptionalfalse
Output Variable
outputVariable
variableOptionalTextPosition

Output

TextPositionNumber

Position of the substring (-1 if not found)

Compatibility

WindowsLinuxAttendedUnattended

Related activities