Hi.
I have a function that needs to split a string on the seperators given by the function. so if i had the seperators as !.?: then it should split the string at those points.
if i have a string 'hello. world! hello.'
how can i return a list with this list ?
i'll have to use .split on the string problem is .split only splits one character and in this case i want to split the string with 2 characters:
'!' and '.'
how can i achieve that without using regex?
The separators can be anything so i need some sort of loop that will use those characters i put as separators