Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

IBAN.Format

Formats the IBAN for printing.

Component Version macOS Windows Linux Server iOS SDK
IBAN 11.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "IBAN.Format"; IBAN )   More

Parameters

Parameter Description Example
IBAN The IBAN to format. "DE29100100100987654321"

Result

Returns text or error.

Description

Formats the IBAN for printing.
Will add space after 4 characters.
Ignores invalid characters in input, e.g. strip out dots or dashes.

You may want to do a trim() on the number yourself.

Examples

Format an IBAN:

MBS("IBAN.Format"; "DE29100100100987654321!")

Example result: DE29 1001 0010 0987 6543 21

See also

Blog Entries

This function checks for a license.

Created 26th February 2021, last changed 31st August 2023


IBAN.Example - IBAN.IsValid