Retrieves a string value.
instance of Dictionary
key to look up
the value if it was retrieved successfully, null otherwise.