electronicFormat function

String electronicFormat(
  1. String iban
)

Removes all whitespaces and invalid characters from iban and returns the iban in uppercase.

Implementation

String electronicFormat(String iban) {
  return iban.replaceAll(RegExp(r'[^a-zA-Z0-9]'), '').toUpperCase();
}