unspacedUpperCase function
input with whitespace alone stripped, then case-folded, for a charset where a hyphen is
invalid rather than cosmetic: Bic, Iban, Isin.
Implementation
String unspacedUpperCase(String input) => input.replaceAll(whitespace, '').toUpperCase();