157 $bv = str_replace(
' ',
'', $bvrb);
163 $match = substr($bv, 0, 1);
164 $report = $tableau[$report][$match];
165 $bv = substr($bv, 1);
167 $controle = $tableau[$report][10];
169 return ($controle == $bv);
dol_strlen($string, $stringencoding= 'UTF-8')
Make a strlen call.
dol_ch_controle_bvrb($bvrb)
Return if a BVRB number is valid or not (For switzerland)