L
Laz
Hi,
I've not worked with javascript, and after searching could not find
example of this type of manipulation.
I'm trying to set a variable to the last portion of a domain name.
for example, if the URL is http://www.telefonica.es/index.php, I'd
like to get the "es" code into a variable.
Is there a predefined call for this?
Otherwise, what string manipulation libraries are available for this?
Thanks for any help,
Laz.
I've not worked with javascript, and after searching could not find
example of this type of manipulation.
I'm trying to set a variable to the last portion of a domain name.
for example, if the URL is http://www.telefonica.es/index.php, I'd
like to get the "es" code into a variable.
Is there a predefined call for this?
Otherwise, what string manipulation libraries are available for this?
Thanks for any help,
Laz.