code: public static String getStringProperty(Properties properties, String key) {
          String property = properties.getProperty(key);
          return property != null && property.trim().isEmpty() ? null : property;
      }
docs: Get a string property from the properties.
  
  @param properties the provided properties
  @return the string property