def get_value(str_):
    """
    Helper function to store formatted string. Will replace '\x00' characters in string with ''.
    
    :param str_: <str> to be formatted
    :return:
    """
    if not str_:
        return None
    else:
        return str_.strip().replace('\x00', '')