title: Use Twig variable as a property name of an other Twig variable
body: <p>I must use a Twig variable as a property for another Twig variable.</p>
  
  <p>In a for loop, I get the properties of a specific entity and want to use those properties to get the property-content for an entity variable in an other for loop.</p>
  
  <p>Some code to make this clear:</p>
  
  <pre><code>{% for entity in entities  %}
  
  {{entity.foo}}, {{entity.bar}}&lt;br /&gt;
  
  {% for property in specialdynamicproperties %}
  {{entity.property}} &lt;!-- property has the content foobar for example, I want to use it as the property accessor for entity --&gt;
  {% endfor %}
  
  {% endfor %}
  </code></pre>
  
  <p>Thanks.</p>