Complete the solution so that it returns the number of times the search_text is found within the full_text. 

Usage example:

Source: codewars | Difficulty: EASY
Tags: String algorithms

Fundamentals

Starter code: def solution(full_text, search_text):
	

Solutions:
def solution(full_text, search_text):
	return full_text.count(search_text)


solution = str.count


import re

def solution(full_text, search_text):
	return len(re.findall('(' + search_text + ')', full_text))


def solution(full_text, search_text):
	count = 0
	length = len(search_text)
	for i in range(len(full_text) - length + 1):
		if full_text[i:i + length] == search_text:
			count += 1
	return count


def solution(stg, sub):
	return stg.count(sub)


def solution(f, s):
	return f.count(s)


def solution(full_text, search_text):
	return full_text.replace(search_text, '1').count('1')


def solution(full_text, search_text):
	c = 0
	for i in range(len(full_text) - len(search_text) + 1):
		if full_text[i:i + len(search_text)] == search_text:
			c += 1
	return c