You can use a regular expression to either:
 - test against either of the potential return values (with or without
hostname)
 - normalise the value to the shorter form

For more information on regular expressions in javascript see:
 http://www.regular-expressions.info/javascript.html

- Walter

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to