Share via


Text.SplitAny

Syntax

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

About

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

Example 1

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

Usage

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

Output

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