Retrieving a list of keys from a section of an ini file

(imported topic written by jclark91)

Is it possible to construct a query that would return a list of keys in a specified section of an ini file?

For example, the name of the ini file might be config.ini in the system folder, and there might be 0 to N number of keys in the section


of that file. I have been able to check for the existence of a specific key by constructing the query:

exists key “test” of section “Exclude” of file “config.ini” of system folder

But, can I return all keys of the Exclude section?