中央巡视组进驻山西:请问ASP里怎么获取“uploadfile/test/News_title”第二个/后面的字符

来源:百度文库 编辑:查人人中国名人网 时间:2024/07/06 10:03:11
请问ASP里怎么获取“uploadfile/test/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函数,以“/”为分割排列出数组