core/domain_without_suffix library

Functions

getDomainWithoutSuffix(String domain, String suffix) String
Return the part of domain without suffix. Example: for domain 'foo.com', the result would be 'foo'.