AT&T Home | AT&T Labs | Research
AT&T Labs, Inc. - Research

The Yoix® Scripting Language

Home | What's New | Grammar | Documentation | Download | License | YChart | YDAT | YWAIT | Byzgraf | FAQs
parseURL (String url [, Object context]) yoix.net
 
Parses the supplied url and returns a Dictionary containing components for:
  • authority
  • defaultport
  • externalform
  • file
  • host
  • path
  • port
  • protocol
  • query
  • reference
  • userinfo
Missing values are filled in using the optional context argument, which can be a String, URL, or NULL, or left NULL if there is no information about the value in context. If the supplied url or context is malformed, a NULL is returned.
 
 Return:   Dictionary
 
 See Also:   isURL, URL

 

Yoix is a registered trademark of AT&T Inc.