StripOnInput

StripOnInput

is an option for certain boxes that determines whether the box should be stripped on evaluation.

Details

  • When a TemplateBox[{shift, return}, Key1, BaseStyle -> {Notes, FontWeight -> Plain, FontFamily -> Source Sans Pro}] evaluation takes place, the front end sends a box representation of the input to the kernel. The box representation may be stripped of some boxes so that their presence will have no effect upon evaluation semantics.
  • For a box with StripOnInput->True, the box's contents will be sent as part of the evaluation, but not the box itself.
  • A box with StripOnInput->False sends the box exactly as it exists in the input cell.

Examples

Basic Examples  (2)

Create a FrameBox that is stripped upon evaluation:

With StripOnInput->False, the FrameBox is preserved in evaluation:

Wolfram Research (2007), StripOnInput, Wolfram Language function, https://reference.wolfram.com/language/ref/StripOnInput.html.

Text

Wolfram Research (2007), StripOnInput, Wolfram Language function, https://reference.wolfram.com/language/ref/StripOnInput.html.

CMS

Wolfram Language. 2007. "StripOnInput." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/StripOnInput.html.

APA

Wolfram Language. (2007). StripOnInput. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/StripOnInput.html

BibTeX

@misc{reference.wolfram_2024_striponinput, author="Wolfram Research", title="{StripOnInput}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/StripOnInput.html}", note=[Accessed: 22-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_striponinput, organization={Wolfram Research}, title={StripOnInput}, year={2007}, url={https://reference.wolfram.com/language/ref/StripOnInput.html}, note=[Accessed: 22-December-2024 ]}