Brian Dunning's FileMaker Custom Functions

SplitAddresslineHousenumber_CF ( AddressLineWithNumber ; ResultStreetNumberFormat )

Splits the numeric part (House number) from the Street. Separate Fields will be required in the EU by about 2025 for Bank Payments. So FileMaker Developers will need to help their customer to split the address lines. The CF also tries to handle address lines that begin with a number such as 20, Rue de la Gare

  Be the first to rate this function Log in to vote

Alexis Gehrt   Alexis Gehrt - Show more from this author
Database Designs
https://www.database-designs.ch/

Share on Facebook Share on Twitter

  Sample input:
SplitAddresslineHousenumber_CF ("Via Cuolm Liung 15b" ; "Street,Number,List")
  Sample output:
Via Cuolm Liung¶15b

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

The function checks for numeric characters and alpha characters in the string/addressline. Such as "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZöäüéàèëçÖÄÜÇ"
Then it determines if the numeric part precedes the string, or follows the string and then cuts the address line.

Sample Street lines are:
Bahnhofstrasse 1
Hans Musterstr. 14c
1024, Oakwood Avenue
20, Rue Des Corbieres
Sil Platz
Via Pianazzo, 5

 

Comments

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 20 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth: