Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Number of instances of a character in a string

Status
Not open for further replies.

Rilez

Programmer
Jun 15, 2001
94
GB
Hi all
I'm trying to find out if there is a way of counting the number of times a particular character appears in an xml field using xslt. Basically I'm storing a section of the filestructure and I would like to know how many levels there are (ie the number of occurances of "\" within the path)

any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top