def split(string,keys):
    """
    string  ::  需要分割的字符
    keys    ::  分割关键字 eg. keys = [' ',',','"','.','(',')']
    return  ::  分割后的字符串数组
    """
    out_strings = []
    cnt = 0
    for i in range(len(string)):
        if string[i] in keys:
            if cnt != i:
                out_strings.append(string[cnt:i])
            cnt = i+1
    return out_strings