This function converts a comma-separated text into a text list.
A common use case is a text list representing the selected elements of a selectable field, e.g. components.
If you want to test the output or need the actual text instead of a list, wrap your expression in a toString() function.
toStringList(text) #Output: Text list
Variant where you can additionally define custom separators.
Leading and trailing spaces around each list element are automatically removed.
toStringList(text, separators) #Output: Text list