I want to split a text into a list using the .split() function but I think the function only allows 1 separator. So txt.split(",") is allowed but something like txt.split(",", ".") is not.
Is there a way to have more separators?
I want to split a text into a list using the .split() function but I think the function only allows 1 separator. So txt.split(",") is allowed but something like txt.split(",", ".") is not.
Is there a way to have more separators?