public static boolean equals(String s1, String s2, boolean caseSensitive) {
		if (s1 == null) {
			return s2 == null;
		}
		if (caseSensitive) {
			return s1.equals(s2);
		}
		return s1.equalsIgnoreCase(s2);
	}
Returns a count of how many times the 'occur' char appears in the strings.

@param string the string to look inside
@param occur the character to look for/
@return a count of how many times the 'occur' char appears in the strings
Ghidra/Framework/Generic/src/main/java/ghidra/util/StringUtilities.java