def splitChar(str, chr=''):
    res_list = []
    while len(str) > 0:
        res_list.append(str[:str.index(chr)])
        str = str[str.index(chr) + 1:]
    return res_list


def main():
    print(splitChar('#name#yang#', '#'))


if __name__ == '__main__':
    main()

095d62db75c0ca119abe954536487e7bf50c305a
<mask token>

<mask token>


def main():
    print(splitChar('#name#yang#', '#'))


<mask token>

def splitChar(str, chr=''):
    res_list = []
    while len(str) > 0:
        res_list.append(str[:str.index(chr)])
        str = str[str.index(chr) + 1:]
    return res_list


def main():
    print(splitChar('#name#yang#', '#'))


<mask token>

def splitChar(str, chr=''):
    res_list = []
    while len(str) > 0:
        res_list.append(str[:str.index(chr)])
        str = str[str.index(chr) + 1:]
    return res_list


def main():
    print(splitChar('#name#yang#', '#'))


if __name__ == '__main__':
    main()
