splitDomainLabels

private fnstring[] splitDomainLabels(string domain) @safe

Split a domain name into labels using mapped dots.

Parameters

domainDomain name (Unicode or ASCII) to split.

Returns

Array of labels (may include empty labels if input contains consecutive dots).