The IsValidBankAccount()
function checks if a text is a valid bank account.
Note: this function only works for bank accounts from the Netherlands
Syntax
IsValidBankAccount(text)
IsValidBankAccount(text, ing)
Returns
Boolean true
if text
is a valid bank account and returns boolean false
if not.
Parameters
text
a text.ing
a boolean that indicates iftext
must be validated as a "ING" or "Postbank" bank account.