Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

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

💬 Ask a question or report a problem