Built-in FunctionssplitOn this pagesplit Function split produces a list by dividing a given string at all occurrences of a given separator. Code Blocksplit(separator, string) Examples Code Block> split(",", "foo,bar,baz")[ "foo", "bar", "baz",]> split(",", "foo")[ "foo",]> split(",", "")[ "",] Related Functions join performs the opposite operation: producing a string joining together a list of strings with a given separator.