stripAnchor

Strips the anchor (fragment) from the URL.

Return

a pair of the link with the anchor removed and the anchor itself, or null if no anchor is present