Count Substring Occurrences

Count Substring Occurrences

This function should take a main string and a substring as inputs and return the number of occurrences of the substring within the main string. It should not be case-sensitive and may overlap.

example

Input: Two strings (str).

Output: Integer (int).

Examples:...

You should be an authorized user in order to see the full description and start solving this mission.