BUILT-IN WOLFRAM LANGUAGE SYMBOL

ListFormat

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

DetailsDetails

  • 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.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Use default formatting:

In[1]:=
Click for copyable input
Out[1]=

Specify alternate formatting:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)