How to concat strings in .data in opl project?

28 Views Asked by At

In my .dat I have:

string1 = "Hola";
string2 = "Mundo";

How can I concat string1 + string2?

1

There are 1 best solutions below

0
On

You can use OPL scripting:

string string1 = "Hola";
string string2 = "Mundo";
string string3;

execute
{
  string3=string1+string2;
  writeln(string3);
}

gives

HolaMundo