KScript docs
EN

iban fields and methods

A field is a plain fact about the value, read with a dot and no brackets: $value.name. A method takes arguments or does work, and is called with ->: $value->name(arguments), or with the value piped in: $value |> name(arguments).

Fields

FieldTypeDescription
.bbanstringThe account number inside it, after the country code and check digits.
.countrycountryThe country the account is in: GB.

From KScript.Core

#iban->formatted() → string

The IBAN in groups of four, the way it is printed: GB82 WEST 1234 5698 7654 32.
Example
<let name="x" type="iban" value="'GB82 WEST 1234 5698 7654 32'" />
<echo>{ $x->formatted() }</echo>
$x: iban = 'GB82 WEST 1234 5698 7654 32'
echo $x->formatted()

Methods from any

Methods from string