uriLength

fnptrdiff_t uriLength(Char)(scope const(Char)[] s) if (isSomeChar!Char)

Does string s[] start with a URL?

Returns

-1 it does not

len it does, and s[0 .. len] is the slice of s[] that is that URL