You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Gustavo Straube Pereira <gu...@nobla.com.br> on 2007/01/11 05:31:55 UTC
Substring with Velocity
Hi!
A simple question...
It's possible to get a substring of a String with Velocity like
String.substring()?
Thanks!
--
Gustavo Straube Pereira
gustavo.pereira@nobla.com.br
Nobla Software S/A
www.nobla.com.br
(41) 3018 3735
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org
Re: Substring with Velocity
Posted by Nathan Bubna <nb...@gmail.com>.
A simple answer...
Yes! :) $myString.substring(0, 2)
On 1/10/07, Gustavo Straube Pereira <gu...@nobla.com.br> wrote:
> Hi!
>
> A simple question...
>
> It's possible to get a substring of a String with Velocity like
> String.substring()?
>
> Thanks!
>
> --
> Gustavo Straube Pereira
> gustavo.pereira@nobla.com.br
>
> Nobla Software S/A
> www.nobla.com.br
> (41) 3018 3735
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org