JavaScript seems to be disabled in your browser. You must have JavaScript enabled in your browser to utilize the functionality of this website.
s = 'str1, str2, str3, str4' l = s.split(', ') print(l)
['str1', 'str2', 'str3', 'str4']