title: Mule Performing a string manipulation
body: <p>What is the best way to perform a string manipulation. I wish to perform a substring on a email address to extract the domain detail and populate this to a variable.
  a java transformer is a possibilty, but i was hoping if i could use a message enricher with a expression to perform this operation.
  pardon me but i am still a greenhorn on Mule.</p>
  
  <p>here is the excerpt from my mule flow which is failing with error cannot resolve method string length.</p>
  
  <pre><code> &lt;enricher target="#[flowVars['FromAddressDomain']]" doc:name="Message Enricher"&gt; 
          &lt;expression-transformer expression="#[ payload.fromAddr.substring(payload.fromAddr.lastIndexOf('@')+ 1,payload.fromAddr.lenth())]" doc:name="Expression"&gt;&lt;/expression-transformer&gt;  
      &lt;/enricher&gt;
  </code></pre>