public static char getMnemonicKey(String str) {
		int ampLoc = str.indexOf('&');
		char mk = '\0';
		if (ampLoc >= 0 && ampLoc < str.length() - 1) {
			mk = str.charAt(ampLoc + 1);
		}
		return mk;
	}
Parses the mnemonic key from the menu items text.
@param str the menu item text
@return the mnemonic key for encoded in the actions menu text. Returns 0 if there is none.
Ghidra/Framework/Docking/src/main/java/docking/menu/MenuManager.java