public static int startsWith(String text, String match) {
		int matchLength = match.length();
		int count = 0;
		int index = 0;
		while (text.startsWith(match,index)) {
			count++;
			index += matchLength;
		}
		return count;
	}