i using rythm templating engine. have variable , want 'concatenate' other text without spaces. don't know how delimit variable name , surrounding text - rythm tries resolve both variable name , text single expression.
here example:
@args string hello @whoextra i following error when trying on http://fiddle.rythmengine.org:
org.rythmengine.exception.compileexception: whoextra cannot resolved variable if 'who' has value 'world', want print is:
hello worldextra i can achieve with:
@args string hello @who.raw()extra but seems bit verbose, if use in many places.
is there better way delimit expressions in rythm?
use ( , ) separate:
@args string hello @(who)extra for more information expression in rythm template, checkout http://rythmengine.org/doc/template_guide.md#expression
Comments
Post a Comment