以文本方式查看主题 - 易表在线答疑 (http://egrid2000.com/dvbbs/index.asp) -- 用户社区 (http://egrid2000.com/dvbbs/list.asp?boardid=2) ---- [求助]Substitute简化 (http://egrid2000.com/dvbbs/dispbbs.asp?boardid=2&id=26888) |
-- 作者:yanzhen -- 发布时间:2014/1/20 22:58:00 -- [求助]Substitute简化 Substitute(Substitute(Substitute([名称],"/","+"),"*","+"),"#","+") 用eval怎么写?
|
-- 作者:wjq1072 -- 发布时间:2014/1/21 9:53:00 -- 参考: http://www.egrid2000.com/dvbbs/dispbbs.asp?boardid=2&Id=26871
要“Substitute(”很多时才能体现出Eval的优越性! Eval(Rept("Substitute(",Len("/|*|#")-Len(Substitute("/|*|#","|",""))+1)+"[名称],"""+Substitute("/|*|#","|",""",""+""),""")+""",""+"")") [此贴子已经被作者于2014-1-21 10:21:52编辑过]
|