Bloom.web.UrlLookup.StripProtocol C# (CSharp) Method

StripProtocol() private static method

private static StripProtocol ( string fullUrl ) : string
fullUrl string
return string
        private static string StripProtocol(string fullUrl)
        {
            int colonSlashSlashIndex = fullUrl.IndexOf("://", StringComparison.Ordinal);
            if (colonSlashSlashIndex < 0)
                return fullUrl;
            return fullUrl.Substring(colonSlashSlashIndex + 3);
        }