For a input like: [A,B,C] or something between commas and between brackets, how can I split the string to add it to a list?
I have this:
List