How can I render a string like erb files render.
for example I want this string:
"Hello <%= 'World'%>"
To be:
"Hello World"
How can I do this?
How can I render a string like erb files render.
for example I want this string:
"Hello <%= 'World'%>"
To be:
"Hello World"
How can I do this?
If I properly understand you, this would be helpful:
UPDATE
If you want to use variables: