I plan on buying two domain names for the same site. Depending on which domain is used I plan on providing slightly different data on the page. Is there a way for me to de
I figure it ought to be as simple as this:
url.split("/")[2]