Skip to main content
Version: 6.1

String Count

This Function returns a <numeric>, which is the number of occurrences of String to Count inside the Source string.

Parameters​

  • Source string <string> - String from where the value will be retrieved.
  • String to Count <string> - String to count occurrences inside Source string.

Examples​

  • Example 1

StringCount("Kalipso is great. I enjoy Kalipso.", "Kalipso")
Result = 2

  • Example 2

StringCount("Kalipso is great. I enjoy Kalipso.", "XPTO")
Result = 0