def xstr(s):
    """
    Function for casting a value to string and None to a empty string

    :param s: Value to be converted
    :return: a string value
    """
    if s is None:
        return ""
    else:
        return str(s)