157 $bv = str_replace(
' ',
'', $bvrb);
162 $match = substr($bv, 0, 1);
163 $report = $tableau[$report][$match];
164 $bv = substr($bv, 1);
166 $controle = $tableau[$report][10];
168 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)