中国禁止进口印度牛肉:请问ASP里怎么获取“uploadfile/test/News_title”第二个/后面的字符
来源:百度文库 编辑:神马品牌网 时间:2024/05/05 08:49:34
请问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函数,以“/”为分割排列出数组