cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

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

Using "<" and ">" as normal text when using Markup with a Text Box

 Is there a way to display "<" and/or ">" as normal text in a Text Box.  For example, the script below gives an error, it is interpreting the < and > characters as parts of an HTML tag.  

names default to here(1);
string = "the value is <b> <<a </b>, but <i> > b </i>";
new window("test",
	text box(string, <<Markup(1))
)

What I want to display in the text box is 

 

the value is <<a, but > b

 

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Using "<" and ">" as normal text when using Markup with a Text Box

Maybe escaping with "<" with &lt; could work?

 

names default to here(1);
string = "the value is <b> &lt;&lt;a </b>, but <i> > b </i>";
new window("test",
	text box(string, <<Markup(1))
)

 And &gt; for >

-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: Using "<" and ">" as normal text when using Markup with a Text Box

Maybe escaping with "<" with &lt; could work?

 

names default to here(1);
string = "the value is <b> &lt;&lt;a </b>, but <i> > b </i>";
new window("test",
	text box(string, <<Markup(1))
)

 And &gt; for >

-Jarmo
MathStatChem
Level VII

Re: Using "<" and ">" as normal text when using Markup with a Text Box

That's it! I tried using &lt and &gt, but without the semicolon after.

Recommended Articles