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 ''
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 ''
def format_address_02(address): without_email = geocode.remove_email(address) without_department = geocode.remove_dept(without_email) result = (', '.join(without_department)) return result
def format_address_01(address): return geocode.remove_email(address)