中央巡视组进驻山西:请问ASP里怎么获取“uploadfile/test/News_title”第二个/后面的字符
来源:百度文库 编辑:查人人中国名人网 时间:2024/10/05 08:57:14
请问ASP里怎么获取“uploadfile/test/News_title”第二个/后面的字符?
也就是怎么获取"News_title"
请高人写一段完整的代码,非常感谢!!!
也就是怎么获取"News_title"
请高人写一段完整的代码,非常感谢!!!
str = "uploadfile/test/News_title"
str_no = split(str,"/")
str_2 = str_no(2)
response.write str_2
========输出结果========
News_title
就是使用SPLIT函数,以“/”为分割排列出数组