title: How do I compare a string with key value in dictionary?
body: <p>How do I compare a string with key value in dictionary? Suppose my dictionary keys are "f001.name", "f002.item", and "f003.content", and I need to find out the keys which have only "foo1" in it.</p>