以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 字符串问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=150935) |
-- 作者:武圣 -- 发布时间:2020/6/11 12:23:00 -- 字符串问题 我想删除一列字符串 ")"前面的字符串,包括本身的右括号,字符位数不固定,有啥方法。 |
-- 作者:有点蓝 -- 发布时间:2020/6/11 13:32:00 -- 参考:http://www.foxtable.com/webhelp/topics/1338.htm,如 dim s as string = "13131)dsffd" dim i as integer = s.indexof(")") if i > -1 then msgbox(s.substring(i+1)) end if
|