►
Run
#a string str = "---hello---world---welcome---to---tutorialkart---" #split with another string as separator values = str.split('---') print(values)
Output