Skip to main content

SubStringCount - script and chart function

SubStringCount() returns the number of occurrences of the specified substring in the input string text. If there is no match, 0 is returned.


SubStringCount(text, sub_string)

Return data type: integer


Argument Description
text The original string.
sub_string A string which may occur one or more times within the input string text.