如何取斜杠后面的字符串?
类似:
"http://www.blog-name.com/search/taio cruz"
---------------------------------------------^
"Sorry, no posts were found with the tag taio cruz"
问题:
如果用户输入 http://www.blog-name.com/search/taio cruz
,浏览器将查找名为“taio”的文件夹克鲁兹”,不是吗?
我如何获得“Taio Cruz”值?
Like:
"http://www.blog-name.com/search/taio cruz"
---------------------------------------------^
"Sorry, no posts were found with the tag taio cruz"
The Problem:
If the user enters http://www.blog-name.com/search/taio cruz
, the browser will look for a folder named "taio cruz", won't it ?
How can I get the value "Taio Cruz"?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)