data _null_;
length a2 $ 28;
a2='-0.56';
b3=verify(a2,'-.0123456789');
b4=verify(a2,'abcdefg');
put 'b3=' b3 ;
put 'b4=' b4 ;
run;
结果
b3=6
b4=1
我知道verify是:Returns the position of the first character that is unique to an expression.
但为何b3是6呢?求解。