Split

 
string = "a - b - c - def - g"
 
print(string.split(" - "))
>>> ["a","b","c","def","g"]