To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

GetPairedValue

GetPairedValue



Passed a search string and a set of paired strings, the result will be the value assigned to the search string.



Syntax:

Procedure: GetPairedValue(sSearchStr: string; sStringSet: string): string;


API Call:

Scripting
var
  oStringList: TStringList;
  sValue : string;
begin
  oStringList := TStringList.Create;
  oStringList.Add('Pear=Yellow');
  oStringList.Add('Apple=Red');
  oStringList.Add('Tangerine=Orange');

  sValue := GetPairedValue('Apple', oStringList.Text);

  ShowMessage(sValue);
end;

Copyright 2023 ConstructConnect