public final Data createAsciiString(Address address, int length)
			throws CodeUnitInsertionException {
		Listing listing = currentProgram.getListing();
		DataType dt = StringDataType.dataType;
		if (length <= 0) {
			dt = TerminatedStringDataType.dataType;
			length = -1;
		}
		Data d = listing.getDefinedDataAt(address);
		if (d != null) {
			if (d.getDataType().isEquivalent(dt) || (length > 0 && length != d.getLength())) {
				throw new CodeUnitInsertionException("Data conflict at address " + address);
			}
		}
		else {
			d = listing.createData(address, dt, length);
		}
		return d;
	}
Create an ASCII string at the specified address.
@param address the address
@param length length of string (a value of 0 or negative will force use
of dynamic null terminated string)
@return string data created
@throws CodeUnitInsertionException if there is a data conflict
Ghidra/Features/Base/src/main/java/ghidra/program/flatapi/FlatProgramAPI.java