sS urlWithoutAnchor(S url) { ret takeFirst(url, smartIndexOf(url, "#")); }