|
Subject: Re: [xsl] counting the number of tokens in a string? From: Oleg Tkachenko <olegt@xxxxxxxxxxxxx> Date: Wed, 02 Oct 2002 20:00:14 +0200 |
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"/>
What about string-length($str) - string-length(translate($str,',',''))
-- Oleg Tkachenko Multiconn International, Israel
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] counting the number of to, Wendell Piez | Thread | RE: [xsl] counting the number of to, Michael Kay |
| [xsl] Re: Passing params dynamicall, Dimitre Novatchev | Date | RE: [xsl] counting the number of to, Michael Kay |
| Month |