Quote:
Originally Posted by theducks
Off the top of my head
use Nested commands (program mode),:
convert the numeric string portion to a (integer)Number, then convert that back to a string. That should lose the leading zeros.
|
Yes, but how to do that is what I'm asking for.
I tried with:
program: str(int(template('[[identifiers:select(my_id)]]')))
But this doesn't work, and I can't find any function in template language to convert a string to an integer....