Skip to content

Flow documentation · legacy product

Insert ​

Declaration ​

procedure Insert(Substr: string; var Dest: string; Index: Integer);

Example ​

pascal
procedure OnMapEvent(var Value:Variant);
begin
  Value := Insert('two ','one three', 5); //returns 'one two three'
 end;

Description ​

Merges two strings together. Substr is merged into Dest at the position given by Index.