Table of Contents

Search

  1. Preface
  2. Introduction
  3. Program Design
  4. SSA-NAME3 Functions
  5. Language Specific Guidelines
  6. Controls
  7. Advanced Controls
  8. Address Standardization
  9. ASM Workbench

SSA-NAME3 API Reference Guide

SSA-NAME3 API Reference Guide

Parsing an Address

Parsing an Address

Parsing is the process of separating the address lines into separate address fields. It does not check whether or not the address fields constitute a valid postal address.
A call to
ssan3_addr_parse
returns a Long Array of field lengths. These correspond to the lengths of the parsed address fields, as per the table below. Fields with a length of zero simply mean that a particular address component was not present (for example, a middle name).
Field Index
Address Field
0
Organization
1
Department
2
Nobility (e.g. Lord)
3
Title (e.g. Mr)
4
First Name
5
Middle Name
6
Last Name
7
Function (e.g. Manager)
8
Building
9
Sub-Building
10
Street_1
11
Street_2
12
House Number
13
P.O. Box
14
Dependent Locality (e.g. URB, Colonia)
15
Locality (e.g. County)
16
Province (e.g. State)
17
Zip Code
18
Country
19
Double Dependent Locality
20
Sorting Code (Mail Sort)
21
County Information
22
Zip+4
23
Geocoding Latitude
24
Geocoding Longitude
25
Geocoding Unit
26
Residue
Some fields will not return values for ASM with AddressDoctor v4, since they may not be supported (i.e. geocoding related fields).
For example, field length [13] represents the length of the "PO Box" component of the address.

0 COMMENTS

We’d like to hear from you!