Expression Interpolation from input "template string"?

P

Peter Fitzgibbons

Hello all,

I have a set of "template messages" from a database table that I want
to go something like this :

"Hello, today is #{msgDate}"

What I don't know is how to get the interpolation to work when the
string is read from teh database as if :

x =3D 'Hello, today is #{msgDate}' <<=3D=3D note the single quotes

Have any ideas ?

Thanks.

Peter Fitzgibbons
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,540
Members
45,025
Latest member
KetoRushACVFitness

Latest Threads

Top