Foxtable(狐表)用户栏目专家坐堂 → 一个比较奇葩的需求,但是却非常需要,哪位老师给看看,这个问题怎么解决


  共有4502人关注过本帖树形打印复制链接

主题:一个比较奇葩的需求,但是却非常需要,哪位老师给看看,这个问题怎么解决

帅哥哟,离线,有人找我吗?
逛逛
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:1693 积分:12135 威望:0 精华:7 注册:2013/7/11 10:52:00
  发帖心情 Post By:2020/1/13 12:13:00 [显示全部帖子]

凑呗

Dim s As String = "[(1A1C)*36+1A4D+(1A1E)*5+2A4B4A4F3A6B3A4B4A4B2A1B+(11A10B)*4+1A3B+(1A1B)*9]*11+[(3A1C)*36+5A4D+(1G1E)*5+2A4B2A1B+(11A10B)*4+1A3B+(1A1B)*9]*12"
Dim SS() As String = {"A" ,"B","C","D","E"  ,"F","G","H","Z" }
Dim sq As String
For i As Integer = 0 To ss.Length - 1
     sq = Regex.Replace(s, SS(I) , "@")
     sq = Regex.Replace(sQ, "[1-9]\d{0,2}[a-zA-Z]" , "")
    sq = sQ.Replace("()","0")
     sq = sQ.Replace("@","+")   
    sq = Regex.Replace(sQ, "[\[\{\(]", "(")
    sq = Regex.Replace(sQ, "[\]\}\)]", ")")
    sq = sQ.Replace("++","+")
    sq = sQ.Replace("+)",")")
    Output.Show(ss(i) & "=" & Eval(sq))  
Next
[此贴子已经被作者于2020/1/13 13:16:13编辑过]

 回到顶部