module

Iban

Constants

DIFF = 55
MAX_LENGTH = 34

The maximum length of an IBAN is 34 characters, constitued of:

ISO Country code: 2a (alphabetic) Checksum: 2n (numeric) BBAN (Basic Bank Account Number): up to 30c (alphanumeric), country-specific

MIN_LENGTH = 15

Norway has the shortest IBAN with 15 characters

Class methods

display(iban : String) : String

format in the standard way:

"groups of four characters separated by spaces, the last group being of variable length"

Source
remainder(iban : String) : Int32
Source
validate(iban : String) : Bool
Source
validate_with_feedback(iban : String) : String
Source