以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 如何区分大小写 (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=175744) |
-- 作者:michl -- 发布时间:2022/3/17 14:09:00 -- 如何区分大小写 Dim s As String = "C" Dim t As String = "c" Output.Show(s = t) ‘True’ 如果要区分大小写,条件应该怎么写,看了下Compare没太明白 Dim v As Integer For Each r As Row In .Rows For Each c As Col In .Cols If r(c.name) = "C" Then ?????? v = v +1 ....... |
-- 作者:有点蓝 -- 发布时间:2022/3/17 14:16:00 -- Dim s As String = "C" Dim t As String = "c" Output.Show(String.Compare(s, t, False)) If String.Compare(r(c.name), "C", False)Then
|