function iban_get_account_part($iban) { $iban = iban_to_machine_format($iban); $country = iban_get_country_part($iban); $start = iban_country_get_branchid_stop_offset($country); if ($start == '') { $start = iban_country_get_bankid_stop_offset($country); } if ($start != '') { $bban = iban_get_bban_part($iban); return substr($bban, $start + 1); } return ''; }
public function BankIDStopOffset() { return iban_country_get_bankid_stop_offset($this->code); }