Strings
Philippe de Rochambeau <[email protected]> Tue, 10 Mar 2015 18:56:29 +0100
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
I have written a vm template for Solr 4.9 which contains the following line:
#set ($temp = $params.q.indexOf("aaa"))
which worked fine until I moved the template to a Solr 5 server.
Is it incorrect to use Java String methods on string variables in Velocity?
Cheers,
Philippe