<c:out value="${fn:substring(yourString, start, end)}"/>

Cheers
Avlesh

On Mon, Jun 22, 2009 at 9:07 PM, Stefano Tranquillini <
stefano.tranquill...@gmail.com> wrote:

> Hi all.
> there's a possibility inside a jsp to display only the first 100 chars
> or the first 10 words of a string?
> if i have a long string, can i display only the first 100 chars
> directly in a jsp without modification in action or something like
> that?
> thanks
> --
> Stefano
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to