cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • JMP will suspend normal business operations for our Winter Holiday beginning on Wednesday, Dec. 24, 2025, at 5:00 p.m. ET (2:00 p.m. ET for JMP Accounts Receivable).
    Regular business hours will resume at 9:00 a.m. EST on Friday, Jan. 2, 2026.
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

Save the following as txt with JMP?

How can save txt files without excess "

2024-02-27_20-28-53.png

#title=""
#tooltip="[",2052
#icon="I:\ABC\[.ico"

Thanks!

2024-02-27_20-31-51.png

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Save the following as txt with JMP?

You could get the values into a list, convert it to a string and then save that

Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(3),
	Compress File When Saved(1),
	New Column("Col",
		Character,
		"Nominal",
		Set Values({"#title=\!"\!"", "#tooltip=\!"[\!",2052", "#icon=\!"I:\ABC\!\[.ico\!""})
	)
);

vals = dt[0, 1];
str = Concat Items(vals, "\!N");
Save Text File("$TEMP/test.txt", str);

wait(0);
Web("$TEMP/test.txt");
-Jarmo

View solution in original post

2 REPLIES 2
lala
Level IX

回复: Save the following as txt with JMP?

  • This result is incorrect.

jthi
Super User

Re: Save the following as txt with JMP?

You could get the values into a list, convert it to a string and then save that

Names Default To Here(1);

dt = New Table("Untitled",
	Add Rows(3),
	Compress File When Saved(1),
	New Column("Col",
		Character,
		"Nominal",
		Set Values({"#title=\!"\!"", "#tooltip=\!"[\!",2052", "#icon=\!"I:\ABC\!\[.ico\!""})
	)
);

vals = dt[0, 1];
str = Concat Items(vals, "\!N");
Save Text File("$TEMP/test.txt", str);

wait(0);
Web("$TEMP/test.txt");
-Jarmo

Recommended Articles