protected static String truncateAsNecessary(String string, int length) {
		if (string == null) {
			return "";
		}

		if (string.length() > length) {
			return string.substring(0, length) + ELLIPSES;
		}
		return string;
	}
Returns the plain-text value of the data type's description.
<p>
If there were html tags in the string, they are escaped.

@param dataType the type to get the description / comment for
@return plain-text string, w/html escaped
Ghidra/Features/Base/src/main/java/ghidra/app/util/html/HTMLDataTypeRepresentation.java