比如一个url
http://community.csdn.net/Expert/PostNew.asp?room=5004
我用AfxParseURL取出了协议名,主机名,端口,和路径
其中路径是/Expert/PostNew.asp?room=5004
我用什么办法能把PostNew.asp和room=5004分别提取出来
有现成的函数吗?还是要自己写
http://community.csdn.net/Expert/PostNew.asp?room=5004
我用AfxParseURL取出了协议名,主机名,端口,和路径
其中路径是/Expert/PostNew.asp?room=5004
我用什么办法能把PostNew.asp和room=5004分别提取出来
有现成的函数吗?还是要自己写
2. Use CString::ReverseFind to get the position of the last "/" character.
3. Use CString::Mid to get the result string.
顺便问一下,如果不用CString的话
有些什么函数可以用