Smart Text Split

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 ArgumentTypeDescriptionRequired?Advanced Option?Default
Input TextStringInput text to be split up.✔️-
Split PatternStringPattern or text as part of the input text where it will splitted by.(whitespace) or (comma)
Trim enabledBooleanRemoves leading and trailing whitespace in all results.✔️No
Trim StringsBooleanRemoves leading and trailing substring in all results.✔️whitespace

Output

ResponseTypeDescription
Text Segments as listArrayList of text segments after splitting and optional trimming.
bodyJSON ObjectJSON object containing the key textSegments with the array of split text segments.
Text Segments as list itemStringSingle 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.

Picture

💡

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!