Example #1
0
 // This splits the addressline 1 into a housenum, street name and suffix
 public void Split()
 {
     string[] address = { null };
     address = AddressLine1.Split(' ');
     try
     {
         int.TryParse(address[0], out houseNumber);
     }
     catch (Exception e)
     {
         // Log here
     }
     streetName    = address[1];
     addressSuffix = address[2];
 }