Get IBAN in friendly format (separated after every 4 characters) IBAN validation is not performed. When non-string value for IBAN is provided, returns null.
// returns "NL91 ABNA 0417 1643 00"ibantools.friendlyFormatIBAN("NL91ABNA0417164300"); Copy
// returns "NL91 ABNA 0417 1643 00"ibantools.friendlyFormatIBAN("NL91ABNA0417164300");
// returns "NL91-ABNA-0417-1643-00"ibantools.friendlyFormatIBAN("NL91ABNA0417164300","-"); Copy
// returns "NL91-ABNA-0417-1643-00"ibantools.friendlyFormatIBAN("NL91ABNA0417164300","-");
Optional
Get IBAN in friendly format (separated after every 4 characters) IBAN validation is not performed. When non-string value for IBAN is provided, returns null.