The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by aleyah]

how to get text length using jstl?
or
how to split text using jstl?
import-bot (20211) [Avatar] Offline
#2
Re: text length
[Originally posted by bayern]

> how to get text length using jstl?
> or
> how to split text using jstl?

JSTL 1.0 isn't designed to do either of these. You'll want to use Java code
to handle string manipulation -- or, if you wait a few months, JSTL 1.1 will
likely support such functions.

Shawn
import-bot (20211) [Avatar] Offline
#3
Re: text length
[Originally posted by bayard]

I'll add both of these to the list of TODOs for the Jakarta String Taglib.
Count should be an easy one. Split I avoided as a Collection or String[] made
no sense on the page, but it does in the var= element, so that should work.

Hen