format
Formats a TAN to canonical form: 10-character uppercase, no separators.
Applies the same normalisation as validate before formatting. TAN has no published display separator convention — output is the raw uppercase string: e.g. "MUMD12345A".
This method is idempotent: format(format(x)) == format(x).
Return
Canonical 10-character uppercase TAN string.
Parameters
value
Raw TAN string.
Throws
if value is not a valid TAN. The exception message includes the (truncated) input for diagnostics.
Samples
check(TAN.format("pdes03028f") == "PDES03028F")Content copied to clipboard