Brian Dunning's FileMaker Custom Functions

FormatPostcodeNL ( TheCode )

Function for formatting dutch postcodes

  Average rating: 4.3 (34 votes) Log in to vote

Henk Brendel   Henk Brendel
Data 33

Share on Facebook Share on Twitter

  Sample input:
FormatPostcodeNL ( "1234pc" )
  Sample output:
1234 PC

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

This function formats dutch postcodes (4 digits followed by two characters).
The postcode will be returned as: 4 digits-space-2 capitalized characters.
"1234pc" will be returned as "1234 PC"
" 78 54g Q" will be returned as "7854 GQ"
Postcodes that are not entered as 4 digits followed by two characters are considered to be foreign, and will remain unchanged.



Log in to post comments.


Note: these functions are not guaranteed or supported by 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 16 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: