Pick a value from a wifi scan and use it after to compare

what i want is to safe a value from a wifi scan