def gettablenameapprox(stringtofind): valuelist=[] outlist=[] hardwaremod.getfieldinstringvalue(hardwaremod.HW_INFO_NAME,stringtofind,valuelist) tablelist=gettablelist() for value in valuelist: if value in tablelist: outlist.append(value) return outlist