| 发表于:2007-07-28 22:16:086楼 得分:0 |
谢谢了! 我在vb调试中可以得到正确结果 可是为什么我的html文件就不行呢 我的代码如何 请大家指点一下 我刚刚开始学习编写网业 <%@language= "vbscript " codepage= "936 "%> <html > <head> <meta http-equiv= "content-type " content= "text/html; charset=gb2312 " /> <title> 无标题文档 </title> </head> <% dim str dim str3 dim intstr1 dim intstr2 str = "c:\windows\i1-1-1-9-10-1.jpg " intstr1 = instrrev(str, "- ") intstr2 = instrrev(str, "\ ") str3 = mid(str, (intstr2 + 1), (intstr1 - intstr2 - 1)) response.write str3 %> <body> </body> </html> | | |
|