public static String stripMnemonicAmp(String text) {
		int ampLoc = text.indexOf('&');
		if (ampLoc < 0) {
			return text;
		}
		String s = text.substring(0, ampLoc);
		if (ampLoc < (text.length() - 1)) {
			s += text.substring(++ampLoc);
		}
		return s;
	}
Removes the Mnemonic indicator character (&amp;) from the text
@param text the text to strip
@return the stripped mnemonic
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuManager.java