access查找字符位置?
用mid()函數Sub Test() '設你的字符串是NICDim X As IntegerFor X = 1 To Len(NIC) If Mid(NIC, X, 1) = "A" Then MsgBox "在第" & X & "個位置有A" End IfNextEnd Sub
上一篇a1詳細參數
下一篇access主碼怎么設置
access查找字符位置?
用mid()函數Sub Test() '設你的字符串是NICDim X As IntegerFor X = 1 To Len(NIC) If Mid(NIC, X, 1) = "A" Then MsgBox "在第" & X & "個位置有A" End IfNextEnd Sub