Generate a code snippet in Python to split a given string into substrings based on a specific delimiter.
"1, 2, 3, 4"
str = "1, 2, 3, 4"
list = str.split(', ') 
print(list) # Output is ['1', '2', '3', '4']