水木社区手机版
首页
|版面-Visual_Basic编程(VisualBasic)|
新版wap站已上线
返回
1/1
|
转到
主题:VBS如何提取子串
1楼
|
iMx
|
2021-04-25 16:52:28
|
展开
n=instrrev(myfile,"\")
mypath=left(myfile,n)
【 在 juxiangyou (juxiangyou) 的大作中提到: 】
: 已知的串是 myfile="d:\kugou\comic\pre.txt"
: 我想提取成 mypath="d:\kugou\comic\"
: 代码应该怎么写?
: ...................
--
FROM 119.131.204.*
1/1
|
转到
选择讨论区
首页
|
分区
|
热推
BYR-Team
©
2010.
KBS Dev-Team
©
2011
登录完整版