判断字符串中字符是否是 '0' 或者 '1',可以写条件:if(str[i]==0 || str[i]==1)。
'0'
'1'
if(str[i]==0 || str[i]==1)
{{ select(1) }}
不区分大小写,点击图片可更换