var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Parse domain from a URL
I'm trying to find out if anybody has written a function that will parse just the domain name from a URL. For example, where the URL =
the function would then return:
Am I crazy, or has somebody written this before? If so, is there some code that I can leverage in finding a solution? Thanks in advance.....
Never mind - much simpler than I thought:
substr(URL , 0, (instr(URL , '/', 1)-1))
Will return what I wanted. Guess it's here for anybody else to use as well!