IsInINI
Reads and returns to the action the value of the specified key in the INI file.
Syntax
bool IsInINI (StrParam)
Parameters
A comma separated string of:- The INI Filename.
- The section within the INI file.
- The keyword to find in the section.
Returns
True if the value of the current field is a substring within the string specified in the INI file. Otherwise, False.Level
Field Level.Details
When possible it is recommended to use the generic actions that read and write INI files in the FileIO action library. Reads and returns to the action the value of the specified key in the INI file. It compares the value of the current field with the with the string in the INI file. The field must be a substring of the string in the INI file.- Example
IsInINI("C:\MyDir\settings.ini", "mysection", "mykey")