Power Automate (WDL) function
split — Power Automate (WDL) function reference
Break a string into an array.
Syntax
wdl
split(text, delimiter)
Examples
wdl
split('a,b,c', ',')→ ["a","b","c"]
wdl
first(split(item()?['Email'], '@'))
→ The username portion of an email address
wdl
split(triggerBody()?['Tags'], ';')
→ An array of tag strings
Common mistakes & gotchas
- An empty delimiter '' splits into individual characters rather than throwing.
- If the delimiter never appears in the text, split() returns a one-element array containing the whole original string, not an empty array.
Related Workflow Definition Language functions
From Strings