string
(string, default: ""): The input string that you want to split into an array of substrings.separator
(string, default: ""): The character or sequence of characters that separates the elements in the input string. If left empty, the input string will be split based on whitespace characters (spaces, tabs, or newlines).result
(array): The resulting array of substrings after splitting the input string based on the specified separator.string
input of the Split node. This is the string that you want to split into an array of substrings.separator
input, which is the character or sequence of characters that separates the elements in the input string. If you leave this input empty, the string will be split based on whitespace characters.result
output. You can then use this array in other nodes or spells as needed.string
input.separator
input of the Split node to ”,”.result
output of the Split node will contain an array with four elements: [“Alice”, “Bob”, “Charlie”, “David”].separator
input is left empty, the Split node will use whitespace characters as the default separators. This may lead to unexpected results if your string contains multiple consecutive whitespace characters.separator
input contains special characters or regex patterns, they will be treated as literal characters and not as special characters or patterns. To split a string using regex patterns, consider using the Regex Split node instead.