public static String parseIfIndex(String key) {
		if (isIndex(key)) {
			return key.substring(1, key.length() - 1);
		}
		return key;
	}
If an index, parse it, otherwise just return the key

@param key the key
@return the index or key
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/trace/model/target/path/KeyPath.java