count-substring(a, b)
Group |
Returns the number of occurrences of b in the text a.
Description of Parameters
Parameter |
Description |
a |
Value. |
b |
Search text. |
Examples
Parameter a |
Parameter b |
Result |
abcdecfgc |
c |
3 |
abcdecfgc |
abc |
1 |
abcdecfgc |
x |
0 |