Category:

Miscellaneous

Returns the number of times a substring occurs in a string.

Syntax

substr_count(
  Str String,
  SubStr String
): Integer

Parameters

Str is the string to check.

SubStr specifies the string to search for.

Return value

Type: Integer.

Examples of using

substr_count(dataset_field_val(1, 'Address'), 'str.')