I'd really like to be able to use some form of string formatting with in DB for making requests using the net module. Ideally something like str.format in python would be nice (optionally with support ...
if len(domain) is 1 : domain = "{}".format(domain[0]) elif len(domain) is 2 : domain = "{}{}".format(domain[0], domain[1]) elif len(domain) is 3 and not "[" in domain ...