- Documentation
- Activities
- Text
- Extract substring
Extract a portion of text by position
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
Input Text inputText | expression | Required | — | — |
Extraction Mode extractionMode | enum | Optional | position | —positionbetween |
Start Position startPosition | number | Optional | 0 | Starting position (0-based index) |
Length length | number | Optional | — | Number of characters to extract (leave empty for rest of text) |
Start After startText | string | Optional | — | Extract after this text |
End Before endText | string | Optional | — | Extract before this text |
Output Variable outputVariable | variable | Optional | ExtractedText | — |
Output
ExtractedTextStringExtracted portion of text
Compatibility
WindowsLinuxAttendedUnattended
Related activities
Change text case
Convert text to UPPERCASE, lowercase, or Title Case
Contains text
Check if text contains a specific substring
Convert datetime to text
Turn a date into readable text like "January 5, 2025"
Find text position
Find the position of a substring within text
Get text length
Count the number of characters in text
HTML content
Create or modify HTML content for emails or web pages