I have the following template code to wrap a int-variable in a string inside of parenthesis and plus-signs but i creates wild blanks all around. I have no idea why
<?xml version="1.0" encoding="utf-8" ?>
<codetemplate xmlns="http://schemas.borland.com/Delphi/2005/codetemplates"
version="1.0.0">
<template name="StringInsertInt" invoke="manual">
<description>
Insert a text variable into a string
</description>
<author>
</author>
<code language="Delphi" delimiter="|" ><![CDATA['+IntToStr(|selected|)+']]>
</code>
</template>
</codetemplate>