GetURLPart to handle # symbol

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Seymour Clufley
Addict
Addict
Posts: 1264
Joined: Wed Feb 28, 2007 9:13 am
Location: London

GetURLPart to handle # symbol

Post by Seymour Clufley »

I've just realised that GetURLPart() assumes a ? mark splits the page from the extra parameters. Isn't it just as frequent for a hash symbol to do this?

Code: Select all

http://www.purebasic.fr/english/posting.php?mode=post&f=3
http://www.purebasic.fr/english/posting.php#mode=post&f=3
And if so, could GetURLPart() be updated to handle hash symbols?
JACK WEBB: "Coding in C is like sculpting a statue using only sandpaper. You can do it, but the result wouldn't be any better. So why bother? Just use the right tools and get the job done."
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Re: GetURLPart to handle # symbol

Post by Trond »

Isn't it just as frequent for a hash symbol to do this?
No. This not standard.
Post Reply