take a name (string) and filter it into a valid part of a subdomain

string:subdomainify(STRING $string) : STRING

string:subdomainify('hi there')
#=> "hi-there"

string:subdomainify('good_job.com')
#=> "goodjobcom"

# note: empty string is considered valid subdomain
string:subdomainify('')
#=> ""

Copyright ©2013-2022 SunSed®. All rights reserved.