# File lib/merb-core/dispatch/request.rb, line 350 def subdomains(tld_length = 1) parts = host.split('.') parts[0..-(tld_length+2)] end