def split_string(source, splitlist):
    result = []
for e in source:
    if e in splitlist:
        end = source.find(e)
result.append(source[0:end])
source = source[end + 1:]
return result
string split issue