这个问题实在不会,谁解决给全分.

zyh791211 2005-02-22 03:50:57
取出一字段"网站详情"的值rs("url"),链接该字段后显示如:http://www.114.com/company/3/index.asp?id=43591,现在只想把其中的index.asp替换为product.asp.谁有办法解决,是不是有个替换的函数啊?
...全文
83 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
devin--- 2005-02-22
  • 打赏
  • 举报
回复
最好在数据库中改,省得改程序麻烦
redstorm11 2005-02-22
  • 打赏
  • 举报
回复
就是楼上的
bananasmiling 2005-02-22
  • 打赏
  • 举报
回复
newurl=replace(rs("url"),"index.asp","Product.asp")
ttkkyy 2005-02-22
  • 打赏
  • 举报
回复
就是楼上的
gaochen11 2005-02-22
  • 打赏
  • 举报
回复
newurl=replace(rs("url"),"index.asp","Product.asp")
fangq 2005-02-22
  • 打赏
  • 举报
回复
replace("http://www.114.com/company/3/index.asp?id=43591","index.asp","product.asp")

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧