splitHouseNumber | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function splitHouseNumber

    • Split a houseNumber into its bare number and suffix. This is a mostly Dutch thing to simplify resolving postal codes to an address

      Parameters

      • houseNumber: string

        String with housenumber and addition

      Returns null | { bareNumber: number; suffix: string }

      Split housenumber and addition or 'null' if the number cannot be parsed @cell(string) return.nr House number (digits part) @cell(string) return.suffix Detail/additional part (eg 'A', '-6')