Hi Yogesh, Thanks for the advice. The enclosure didn't function correctly, however I solved the problem on a suggestion from Claus to use groovy instead. My working code is <transform> <groovy>request.body.substring(10, request.body.length()-[n])</groovy> </transform>
I also needed to add the camel-script and camel-groovy dependencies. Best, Evan -- View this message in context: http://camel.465427.n5.nabble.com/Substring-from-nth-character-to-nth-from-the-end-tp5765788p5765865.html Sent from the Camel - Users mailing list archive at Nabble.com.
