我正在尝试在 VTL 中使用 substring 方法,如下所述
#set ($Score = $row.getValue("Score").substring(0,$row.getValue("Score").length()-1))
但它说
Encountered "-1" at
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
<DOT> ...
请帮我解决这个问题。
谢谢基肖尔