以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 关于字符串 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=109230) |
-- 作者:czy66ds -- 发布时间:2017/11/7 12:12:00 -- 关于字符串 假如字符串 s = “A,B,C” 如何变为字符串g = “ \'A\',\'B\',\'C\' ” ? |
-- 作者:有点甜 -- 发布时间:2017/11/7 12:22:00 --
g = "\'" & s.Replace(",", "\',\'") & "\'"
|