本文介绍了如何从asp.net中的URL获取价值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想从这个facebook网址获取视频ID。 https://www.facebook.com/roflpot/videos/1012894442115859 如何使用asp.net获得1012894442115859? 提前付款 我尝试过: string str = test.Substring(test.LastIndexOf('/') + 1); 解决方案 I would like to get video id from this facebook url.https://www.facebook.com/roflpot/videos/1012894442115859How can i get 1012894442115859 using asp.net?Thanks in advanceWhat I have tried:string str = test.Substring(test.LastIndexOf('/') + 1); 解决方案 这篇关于如何从asp.net中的URL获取价值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!