title: Freemarker (Responsys RPL variant) Interpret & exec a key/value pair from a table
body: <p>I'm reading a key/value pair from a table which is denoted as such:</p>
  <p>fruit:${my_fruit} in the FOOD column.</p>
  <p>In my Freemarker code, I have, say:</p>
  <p>&lt;#assign my_fruit = &quot;banana&quot;&gt;</p>
  <p>I want to wind up with the equivalent of</p>
  <p>&lt;#assign fruit = ${my_fruit}&gt; executed.</p>
  <p>I've tried many variations of</p>
  <p>&lt;#fruit_list = &quot;${FOOD}&quot;!?split(&quot;:&quot;)&gt;</p>
  <p>&lt;#assign fruit_raw = r&quot;&lt;#assign &quot; + &quot;${fruit_list[0]}&quot; + r&quot;='&quot; + &quot;${fruit_list[1]}&quot; + r&quot;'&gt;&quot;&gt;</p>
  <p>&lt;#assign fruit_int = fruit_raw?interpret&gt;</p>
  <p>&lt;@fruit_int?exec/&gt;</p>
  <p>Can anyone tell me where I'm going wrong? Many thanks.</p>