public static int contains(String text, String match) {
		int matchLength = match.length();
		int count = 0;
		int index = 0;
		while (true) {
			index = text.indexOf(match,index);
			if (index == -1) {break;}
			index += matchLength;
			count++;
		}
		return count;
	}