public static String parseOverlayName(String addrStr) {
		int index = addrStr.indexOf("::");
		if (index > 0) {
			return addrStr.substring(0, index);
		}
		return null;
	}
Parses the overlay name from the specified address string. Returns null
if the address string does appear to represent an overlay.

@param addrStr the address string
@return the overlay name or null
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlUtilities.java