You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Anton Gavazuk <an...@gmail.com> on 2007/11/06 16:11:39 UTC
[Velocity] newbi question about string in template
Hello all,
I have a question about how I can change string value in velocity template
for example
#set($foo = "12122")
This is foo:$foo
I want to get output
This is foo:12 12 2
How I can do this?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org
Re: [Velocity] newbi question about string in template
Posted by Anton Gavazuk <an...@gmail.com>.
Sorry, question is closed
substring function is still rule :)
2007/11/6, Anton Gavazuk <an...@gmail.com>:
> Hello all,
> I have a question about how I can change string value in velocity template
> for example
> #set($foo = "12122")
> This is foo:$foo
> I want to get output
> This is foo:12 12 2
> How I can do this?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org