Jump to content

IBAN: Difference between revisions

1 byte removed ,  3 years ago
m
No edit summary
Line 282:
iban: replace iban " " ""
if not? contains? iban .regex "[0-9A-Z]+" -> return false
if not? (size iban)=ibanSize \ [slice iban 0 1] -> return false
 
iban: (slice iban 4 (size iban)-1) ++ slice iban 0 3
iban: join map split iban 'ch -> to :string index base36 ch
1,532

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.