|
Displaying Source Code(s)
|
|
Parse and Pull domain
--------------------------------------------------------------------------------
Description : This will pull the domain out of a string.
Increase the length if you want to pull domains over 14
characters
<%
sNewURL = "http://www.src.org/members/default.asp"
site = Split(sNewURL, "/") 'Parse the data
domain = Left(site(2), 14)
Response.Write(domain)
%> |
|
|