How can we evaluate to boolean for an expression made of strings?

Hi All,

Greetings for the day

I have 3 values stored in DB whose column names are as key1,operator,key2.


column names : key1|operator|key2

             values : 10    |      =    |20

I want to fetch these records from DB,and i want to evaluate the expression as 10=20 in tibco.

It is getting as string when i form the query as concat(key1,operator,key2)

how can i get the boolean value for the above expression.?

I tried with the following method.But it always returns true.

boolean("a string returns always true") .

so it is not useful here.

can you please do needful.



(6) Answers