Skip to main content

Find text position

Text·v1.6.0
TextLow risk

Find where a piece of text appears inside another

Inputs

NameTypeRequiredDefaultDescription
Text to Search In
inputText
expressionRequiredNot set
Text to Find
searchText
expressionRequiredNot set
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