Stripping characters from the end of a string
I have a string which looks like this:
www.webpage.com/index.html
I need to strip the 'index.html' part from it.
What is the best way of doing this and storing it into another string?
Converting to a char array and using loops seems a messy way of doing it.
Thanks

