def multisplit(str, chars): """ split str with any of chars""" l = [str] for c in chars: l = concat(map(lambda x:x.split(c), l)) return l