extract_subdomains


Description:

[ Version ( since = "0.3" ) ]
public string[] extract_subdomains (string domain, uint skip = 2)

Extract subdomains from a domain name excluding the top and second level domain.

Parameters:

domain

domain from which subdomains will be extracted

skip

number of labels to skip, which defaults to 2 (eg. 'example' and 'com')

Returns:

a list of subdomains in their left-to-right order of appearance in the domain excluding the two top-most levels


Namespace: Valum
Package: valum-0.3