I need a way in C or Objective-C to separate the URI and the Path, given a full URL.
Given the URL
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前端其它相关文章！