ListFormat

ListFormat

is an option to TextString and related functions that determines how lists are formatted.

Details

  • ListFormat->{"left","sep","right"} specifies that lists should be formatted as the delimiter "left", followed by the elements of the list separated from each other by "sep", followed by the delimiter "right".
  • ListFormat->Automatic indicates that the specification {"{",", ","}"} should be used, which corresponds to the ordinary syntax of lists in the Wolfram Language.

Examples

Basic Examples  (1)

Use default formatting:

Specify alternate formatting:

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

Text

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

CMS

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

APA

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

BibTeX

@misc{reference.wolfram_2024_listformat, author="Wolfram Research", title="{ListFormat}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ListFormat.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_listformat, organization={Wolfram Research}, title={ListFormat}, year={2014}, url={https://reference.wolfram.com/language/ref/ListFormat.html}, note=[Accessed: 21-November-2024 ]}