def METHOD_NAME(args, starting=True, finishing=True, quoted=False):
    result = []
    if args:
        if not starting:
            result.append(",")
        for arg in args:
            result.append('"%s"' % arg if quoted else arg)
            if arg is not args[-1] or not finishing:
                result.append(",")
    return "".join(result)