I am trying to use the substring method in VTL as mentioned below
#set ($Score = $row.getValue("Score").substring(0,$row.getValue("Score").length()-1))
but it says
Encountered "-1" at
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
<DOT> ...
Please help me in resolving this issue.
Thanks
Kishore
or, if you are using VelocityTools, you can do this ugly thing: