string = "Hello, world!" x = string.split(",") # separator here is "," print(x) # x = ["Hello", " world!"]