GetString Method
The GetString method returns the specified keyword-value entry as a StringObject:
This method has the following syntax:
StringObject = SectionObject.GetString()
Example—GetString method:
INITIALIZE()=
DECLARE
ini = ProfileObject;
str = StringObject default null;
productSettings = varchar(2000) not null;
ENDDECLARE
{
ini.ReadProfile (IniFile = 'c:\myproduct\setup.ini');
str = ini.Contents[1].GetString();
productSettings = str.Value;
}