[ 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.
domain |
domain from which subdomains will be extracted |
skip |
number of labels to skip, which defaults to 2 (eg. 'example' and 'com') |
a list of subdomains in their left-to-right order of appearance in the domain excluding the two top-most levels |