Subject: [xsl] Re: counting the number of tokens in a string? From: john liao <jliao2k@xxxxxxxxx> Date: Wed, 2 Oct 2002 09:45:41 -0700 (PDT) |
Oops, too soon. I found tokenize in exslt.org. Let me see what I can do with it. --- john liao <jliao2k@xxxxxxxxx> wrote: > Hi, > > another newbie question. Is there an easy way to > count > the number of commas in a string? Like this: > > <ITEM cols="col1,col2,col3,col4"/> > > I would like to print 4 for the number of columns in > my ITEM. I searched on tokenize() but most of the > references are about the existence of it. > > Thanks, > > J.L. > > ===== > > > __________________________________________________ > Do you Yahoo!? > New DSL Internet Access from SBC & Yahoo! > http://sbc.yahoo.com > ===== __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] counting the number of to, Ben Robb | Thread | [xsl] absolute value function in XS, Carter, Will |
Re: [xsl] Looping using XSL, Wendell Piez | Date | RE: [xsl] counting the number of to, Marrow |
Month |