Thanks very much, I will give it a go. Stef
----- Original Message ----- From: "Henri Yandell" <[EMAIL PROTECTED]> To: "Tag Libraries Users List" <[EMAIL PROTECTED]> Sent: Sunday, October 13, 2002 11:02 PM Subject: Re: Is there a way to call java.lang.String.substring on a <c: ou t ? > > > > On Sat, 12 Oct 2002, Stefan wrote: > > > Henri, > > > > Thanks for looking into it, I would like to use the string taglib in loops. > > > > I've commited the commented out line to StirngTagSupport. Running the > following code snippet: > > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> > <%@ taglib uri="http://jakarta.apache.org/taglibs/string-1.0" prefix="str" > %> > > <c:forTokens var="token" items="oneoneone,twotwotwo,three3333" delims=","> > <str:substring start="2" end="5"><c:out value="${token}"/></str:substring> > </c:forTokens> > > works in both versions, so I'll hunt back and find your actual code to see > if I can get that to break in Tomcat [all I have to hand at the moment]. > > Sorry for taking a few days to do what Martin suggested :) I had a > misunderstanding to get right in my head [Thanks Shawn/Hal]. > > Let me know how that goes. It _should_ go in the nightly build, but if it > doesn't, grab a jar from: > > http://orinoco.flamefew.net:8013/jstltest/string.jar > > Hen > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>