- Documentation
- Activities
- Text
- Find text position
Find where a piece of text appears inside another
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Text to Search In inputText | expression | Required | — | — |
Text to Find searchText | expression | Required | — | — |
Start From Position startPosition | number | Optional | 0 | Position to start searching from (0-based) |
Case Sensitive caseSensitive | boolean | Optional | false | — |
Output Variable outputVariable | variable | Optional | TextPosition | — |
Output
TextPositionNumberPosition of the substring (-1 if not found)
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Change text case
Change text to UPPERCASE, lowercase, Title Case or Sentence case
Combine text
Combine several values into one piece of text, with nothing between them
Contains text
Check whether some words appear inside a piece of text
Convert datetime to text
Turn a date into readable text like "January 5, 2025"
Ends with
Check whether text ends with a given suffix
Extract substring
Extract a portion of text by position