xsl-list
[Top] [All Lists]

Count number of dots in the given string

2005-07-12 02:50:54

Hi 
I want to count number of dots in the given string.
for example 
string : MSH-12.2.3
The template should return 2 because two dots are there in the string.
Can any one send me th xslt code to count number of dots in the string.

Thanks
Laxmi Narayana

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>