Gets a property's value as a String. Returns null if the value doesn't exist, or its value is not a String.
the String or null.
the key