I have a request for when my caller enters 7 numeric digits that the result or "out" contains the 7 digits plus the constant "LU" . Currently I can do it if the constant is a prefix , such as "LU1234567" but what I want is "1234567LU. Below is a grammar I use that does the prefix . What needs to change to do the LU at the end of the Output.
Current
<rule id='pol_seven' scope='public'>
<item>
<tag>out='LU'</tag>
<ruleref uri='ddigits.grxml#digit7'/>
<tag>out+=rules.digit7</tag>
</item>
</rule>
Would this change put the LU and the end of the seven digits ?
<rule id='pol_seven' scope='public'>
<item>
<tag>out1='LU'</tag>
<ruleref uri='ddigits.grxml#digit7'/>
<tag>out+=rules.digit7+out1</tag>
</item>
</rule>
Thanks
Allan