Smart Text Split
Description
This action splits a given text into parts based on a specified pattern and optionally trims whitespace or specified characters from each part.
Input Arguments
Input Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
Input Text | String | Input text to be split up. | ✔️ | ❌ | - |
Split Pattern | String | Pattern or text as part of the input text where it will splitted by. | ❌ | ❌ | (whitespace) or (comma) |
Trim enabled | Boolean | Removes leading and trailing whitespace in all results. | ❌ | ✔️ | No |
Trim Strings | Boolean | Removes leading and trailing substring in all results. | ❌ | ✔️ | whitespace |
Output
Response | Type | Description |
---|---|---|
Text Segments as list | Array | List of text segments after splitting and optional trimming. |
body | JSON Object | JSON object containing the key textSegments with the array of split text segments. |
Text Segments as list item | String | Single item from the list of text segments, e.g. when iterating/looping. |
Power Automate Examples
Smart Text Split
The full text string that you want to split into separate parts.
💡
Looking for the response to this example? Scroll up to see the Output tab.
Known Limitations
⚠️
If you experienced other limitations please get in touch with us!