def multi_split(s, split):
    'Splits on multiple given separators.'
    for r in split:
        s = s.replace(r, '|')
    return [i for i in s.split('|') if (len(i) > 0)]
Splits on multiple given separators.
def multi_split(s, split):
    
    for r in split:
        s = s.replace(r, '|')
    return [i for i in s.split('|') if (len(i) > 0)]