Hi Evelina, The jakarta velocity gives you more information related to your question. You could also join the velocity forum in : velocity-user.jakarta.apache.org As for your question, I am using often such kind of transformations: - $input.substring(ind1,ind2).toUpperCase() or $input.toUpperCase() - $input.concat("string") - $input.split("string") - etc... Hope that this answer help you. Cheers ------------ Youcef
Hello all, I wrote a post on xwiki-users this morning, because someone told me there is where the questions about "how to" are supposed to go, but nobody answered (and I figured it out by myself, with the help of Sergiu) so I'll try my luck here, as I really need some help. In a velocity script I receive a request and I take the value with #set($input =$request.get("param")). My question is, how can I apply string transformations (i.e to lowercase, split the string etc) to this variable($input) in velocity? I looked everywhere but I guess I miss something. Please help! Thank you, Evelina Slatineanu
--------------------------------------------------------------------------------
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws