Script functions reference > Script functions in alphabetical order > E > Eval

Eval
Syntax
Eval(str);
str
Description
Evaluates all variables in the argument string.
Returns
str
Example
$question = "life, the universe, and everything";
$answer = "42";
$result = Eval ("The answer to the question of $question is $answer");
$result will then contain
"The answer to the question of life, the universe, and everything is 42"
OpenText StreamServe 5.6 Updated: 2013-03-01