How can I print the first 2 characters of my tax template name in Ticket Template?

Hi,

I have 2 Tax Templates created, they are SR - 6% and ZR - 0%.

In my Ticket Template, I have this in my ORDERS Section:
[ORDERS]
– Default format for orders
{QUANTITY} {NAME}|{ORDER TAX TEMPLATE NAMES} |{TOTAL PRICE}

In my current printed ticket, it shows like this:

1 7 UP 325ml SR - 6% 1.80
1 100 Plus 325ml SR - 6% 1.80
1 Beras Petani 10kg ZR - 0% 26.00

But I would like to display only the first 2 characters of my tax template name in each line items like below:

1 7 UP 325ml SR 1.80
1 100 Plus 325ml SR 1.80
1 Beras Petani 10kg ZR 26.00

I do not wish to rename my Tax Template Name as the full tax template name will be needed to print in other part in my ticket., eg. Tax Summary.

Try:

[='{ORDER TAX TEMPLATE NAMES}'.substr(0,2)]

I tried [={ORDER TAX TEMPLATE NAMES}.substr(0,2)] but nothing is printed. What’s wrong?

I figured it out by
[=’{ORDER TAX TEMPLATE NAMES}’.substr(0,2)]

Thanks anyway.