public static String getBaseName(ResourceFile script) {
		String name = script.getName();
		int pos = name.lastIndexOf('.');
		if (pos == -1) {
			return name;
		}
		return name.substring(0, pos);
	}
Returns the base name give a script file.
For example, given "C:\Temp\SomeClass.java",
it will return "SomeClass".
@param script the script
@return the base name
Ghidra/Features/Base/src/main/java/ghidra/app/script/GhidraScriptUtil.java