title: freemarker how to use split in string which is readed with include
body: <pre><code>&lt;#assign reasonValue="xxx.ftl"&gt;
  </code></pre>
  
  <p>and I call it like:</p>
  
  <pre><code>&lt;#include "${reasonValue}"&gt;
  </code></pre>
  
  <p>and I get output like:</p>
  
  <pre><code>Rejected - Something
  </code></pre>
  
  <p>how can I now use split on this ouput because I would like to get just <code>Something</code> as output</p>
  
  <p>I tried:</p>
  
  <pre><code>&lt;#list "${reasonValue}"?split("-") as sValue&gt;
          ${sValue}
          &lt;/#list&gt;
  </code></pre>
  
  <p>but problem is that instead of real value i get name of ftl file...</p>