Skip to main content

Text.SplitAny

Returns a list of text values, split on any of the characters in the delimiter.

Syntax

Text.SplitAny(
text as text,
separators as text
) as list

Remarks

Returns a list of text values resulting from the splitting a text value text based on any character in the specified delimiter, separators.

Examples

Example #1

Create a list from the text value "Jamie|Campbell|Admin|Adventure Works|www.adventure-works.com".

Text.SplitAny("Jamie|Campbell|Admin|Adventure Works|www.adventure-works.com", "|")

Result:

{
"Jamie",
"Campbell",
"Admin",
"Adventure Works",
"www.adventure-works.com"
}

Category

Text.Transformations