Function ConfigFile.getValue

Returns the current value for the specified section and key. If the section and/or the key do not exist, the method returns the value of the optional default argument, or null if it is omitted.

Variant getValue(VariantArg2) (
  in String section,
  in String key,
  in VariantArg2 _default = Variant.nil
) const;