How to determine the URL, URI and Path in C or Objective-C?

I need a way in C or Objective-C to separate the URI and the Path, given a full URL. Example: Given the URL mms://a11.l412923342423.c658546.g.lm.akamaistream.net/D/13/414392/v0001/reflector:36751 Getting the URL is easy, but how can I determine where the URI ends and where the Path starts, in C or Objective-C? I know that the URI is `a11.l412923342423.c658546.g.lm.akamaistream.net` and that the Path is `D/13/414392/v0001/reflector:36751`, but how to identify that programmatically? I can't figure that out and any sample code will GREATLY help me. Thank you.
i dont know what is URI but does it works by searching first "/" in that whole string ?

以上就是How to determine the URL, URI and Path in C or Objective-C?的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » CSS3 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏