title: Remove {{ and }} from start and end of string
body: <p>I am trying to force this...</p>
  
  <pre><code>{{ blogPost::author }}
  </code></pre>
  
  <p>to set...</p>
  
  <pre><code>$componentAlias = "blogPost";
  
  $property = "author";
  </code></pre>
  
  <p>I currently have...</p>
  
  <pre><code>list($componentAlias, $property) = explode('::', $this-&gt;property('identifierValue'));
  </code></pre>
  
  <p>but I would like to trim the {{ and }} from either side of the string beforehand, including the whitespace.</p>
  
  <p>I have tried a solution with <code>ltrim('{{ ', $componentAlias)</code> etc but that doesn't seem to work.</p>