def strip_string(search_str):
    search_str = search_str.strip()
    if search_str[0] == "\"" or search_str[0] == "\'":
        return search_str[1:len(search_str) - 1]
    else:
        return search_str
dataset/ETHPy150Open aerospike/aerospike-admin/lib/logcontroller.py/strip_string/original