A
anitawa
Hello,
I am stumped and need some help.
I want to know how you can count the number of certain character
inside one element.
For example, counting commas.
<place>CA,USA</place> should return 1
<place>Los Angeles,CA,USA</place> should return 2
<place>90210,Los Angeles,CA,USA</place> should return 3
I am stumped and need some help.
I want to know how you can count the number of certain character
inside one element.
For example, counting commas.
<place>CA,USA</place> should return 1
<place>Los Angeles,CA,USA</place> should return 2
<place>90210,Los Angeles,CA,USA</place> should return 3