string.parseAddress

Syntax string.parseAddress (adr)

Params adr is an address or the string form of an address.

Action Parses the address into a list containing each part of the address.

Returns The list.

Examples string.parseAddress ("websites.samples")
{"websites", "samples"}

string.parseAddress (@websites.samples)
{"websites", "samples"}

string.parseAddress ("root")
{"root"}

string.parseAddress ("un.defined.address")
{"un", "defined", "address"}

string.parseAddress (@html.expandURLs)
{"system", "verbs", "builtins", "html", "expandURLs"}

Notes The address doesn't have to exist to be parsed.

This verb is new in Frontier 5.1.

Discuss