Compartilhar via


LogisticsPostalAddressMap::formatZipCodeStrForNL Method

Converts a six character string representing a Netherlands ZIP Code or postal code to a seven character code that uses using the Netherlands standard.

Syntax

server public static LogisticsAddressZipCodeId formatZipCodeStrForNL(str _zipCodeStr, [boolean _showMessage])

Run On

Server

Parameters

  • _zipCodeStr
    Type: str
    The ZIP Code or postal code string to be formatted.
  • _showMessage
    Type: boolean
    A Boolean value that indicates whether to display an error message if the ZIP Code or postal code does not meet the format that is required by the Dutch authorities.

Return Value

Type: LogisticsAddressZipCodeId Extended Data Type
A string of seven characters long

Remarks

This method first checks to see whether the string is six characters long before it attempts to convert it. If the specified string is not six characters, the same string will be returned.

See Also

Reference

LogisticsPostalAddressMap Map