how to compare strings in a storage?

like if "message":"string1" from storage 1 is the same as "expect","string2" from storage 2

Continue to help post