Discuss / Python / 第二题

第二题

Topic source

皇甫Yuri

#1 Created at ... [Delete] [Delete and Lock User]
def name_of_email(addr):
    L = re.split(r'[\@\<\>]', addr)
    result = L[0]
    if result == '':
        result = L[1]
    return result

  • 1

Reply