title: How to apply more than one function to a passed in live template variable?
body: <p>I'm trying to build a Python Unit Test File Template in PyCharm. The overall result I want to achieve is:</p>
  
  <ol>
  <li>A user creates a new file with my template, say "<code>widget_builder.py</code>"</li>
  <li>Inside the template I want to create the class name by taking the file name "<code>widget_builder</code>" and turning it into "<code>WidgetBuilderTests</code>"</li>
  </ol>
  
  <p>It looks like I need to use a Live Template to manipulate the file template variable <code>$FILE_NAME$</code>?</p>
  
  <p>How can I create a Live Template that given a passed in variable (in this case <code>$FILE_NAME$</code>), applies both the <code>underscoresToCamelCase</code> and <code>capitalize</code> functions to it?</p>
  
  <p>If I declare the Template text as:</p>
  
  <pre><code>$CLASS_NAME$
  </code></pre>
  
  <p>...and then edit variables, how can I reference a passed in variable of '$FILE_NAME$'?</p>
  
  <p>I'd imagine it to look something like this, but I just can't get it to work:</p>
  
  <p><a href="https://i.stack.imgur.com/wsf9U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wsf9U.png" alt="Example"></a></p>
  
  <p>I'm sure there must be a way to do this, but I just can't quite wrap my head round it.</p>
  
  <p>Is this possible? Thanks!</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I've got a bit further. If I define the template as this:</p>
  
  <p><a href="https://i.stack.imgur.com/y6dos.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/y6dos.png" alt="enter image description here"></a></p>
  
  <p>If I then use it, this happens:</p>
  
  <p><a href="https://i.stack.imgur.com/wTAx7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wTAx7.png" alt="enter image description here"></a></p>
  
  <p>So the end result of <code>$CLASS_NAME$</code> (<code>WidgetBuilder</code>) on the left is what I want, but I don't want <code>$FILE_NAME$</code> (<code>widget_builder</code>) to be there once I hit return.</p>