Velocity allows you to use all Java methods available in your objects. So just write as if it was Java:
$string1.indexOf($string2)
Velocity allows you to use all Java methods available in your objects. So just write as if it was Java:
$string1.indexOf($string2)
转载于:https://www.cnblogs.com/toSeeMyDream/p/5539317.html