This function converts a comma-separated text containing numbers to a number list.
toNumberList(text) #Output: Number list
Variant where you can additionally define custom separators.
Leading and trailing spaces around each list element are automatically removed.
toNumberList(text, separators) #Output: Number list