public void addSeparatorPart(String str) {
		String tstr = str.trim();
		if (tstr.equals("")) {
			addWS();
			return;
		}
		char first = tstr.charAt(0);
		if (!str.startsWith(tstr)) {
			addWS();
		}
		if (!Character.isLetterOrDigit(first)) {
			addWS();
		}
		addSymbol(new AssemblyStringTerminal(tstr, null));
		char last = tstr.charAt(tstr.length() - 1);
		if (!str.endsWith(tstr)) {
			addWS();
		}
		if (!Character.isLetterOrDigit(last)) {
			addWS();
		}
	}
Add a syntactic terminal element, but with consideration for optional whitespace surrounding
special characters

@param str the expected terminal
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/sleigh/grammars/AssemblySentential.java