def forcestring(value):
    """Test a value, if it is not an empty string or None, return the string
    representation of it, otherwise return an empty string.
    """
    if value is None:
        return ""

    return str(value)