Congrats!
Now isn't it better to work out a solution yourself rather than have someone tell you?
Type: Posts; User: Junky
Congrats!
Now isn't it better to work out a solution yourself rather than have someone tell you?
Did you try it?
a/b/c/d would be split up into 4 tokens a, b, c and d. In your code you only print the first token: 'www.google.co.uk'. Your code does not print any more tokens: index.html etc.
It works fine for me. Perhaps if you tried printing out more than one token it might do what you want.