Example #1
0
def format_address_06(address):
    without_email = geocode.remove_email(address)
    address_lines = without_email.split(',')
    if len(address_lines) > 2:
        return ', '.join(address_lines[1:3])
    else:
        return ''
Example #2
0
def format_address_04(address):
    without_email = geocode.remove_email(address)
    without_department = geocode.remove_dept(without_email)
    if len(without_department) > 1:
        return ', '.join(without_department[1:len(without_department)])
    else:
        return ''
Example #3
0
def format_address_02(address):
    without_email = geocode.remove_email(address)
    without_department = geocode.remove_dept(without_email)
    result = (', '.join(without_department))
    return result
Example #4
0
def format_address_01(address):
    return geocode.remove_email(address)