dim str_arr,str_value
str_value="C:\Documents and Settings\Administrator\My Documents\My Pictures\白马山\a.jpg"
str_arr=split(str_value,"\")
response.write str_arr(Ubound)
str_value="C:\Documents and Settings\Administrator\My Documents\My Pictures\白马山\a.jpg"
str_arr=split(str_value,"\")
response.write str_arr(Ubound)
解决方案 »
- 各位求救,限制 ul li中的文字字数,鼠标划过文字显示所有字数和显示的图片和一些描述言文字,
- jquery 判断鼠标移动方向
- jsp运行servlet发现调用的一个类找不到,但是本地运行又是对的
- 求一正则表达式 判断一个字符串是不是仅有英文字母大小写和英文的逗号和引号 谢谢
- Jquery求问 $;与$();的区别,并且用$.each()方法遍历结果不一样?
- window.createPopup()如何背景透明
- 怎样同时刷新父窗口
- 请问用正则表达式怎么表示如下条件的字符串
- 做进度条问题:如何判断所指向页面已完成装载?
- 如何知道一个窗口是否被关闭
- 为什么看不见我画的图??
- 一个iframe滚动条的问题。
{
var strss = str.substr(6)
}
str_arr=split(str_value,"\")
for i=0 to ubound(str_arr)
aaa=str_arr[i]
next
<!--
var a = "C:\\Documents and Settings\\Administrator\\My Documents\\My Pictures\\白马山\\a.jpg"if(a.lastIndexOf("\\")>=0)
{
alert(a.substr(a.lastIndexOf("\\")+1))
}
//-->
</SCRIPT>
echo $str[1];dim a;
a=split("C:\Documents and Settings\Administrator\My Documents\My Pictures\白马山\a.jpg",".");
response.write a(1)
String str="C:\Documents and Settings\Administrator\My Documents\My Pictures\白马山\a.jpg";
String va=str.split(".");
System.out.println(va[1]);
var para = aaa.split("\\");
alert(para[6]);
alert(str[str.length - 1]);