BUILT-IN WOLFRAM LANGUAGE SYMBOL

BooleanStrings

BooleanStrings
is an option to TextString and related functions that determines what strings correspond to the Wolfram Language symbols True and False.

DetailsDetails

  • BooleanStrings should be a list {"tstring","fstring"}, which indicates that the value True should correspond to "tstring" and the value False should correspond to "fstring".
  • BooleanStrings typically defaults to the value {"True","False"}.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

By default, the symbols True and False format as themselves:

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

Specify different strings to use for the symbols True and False:

In[6]:=
Click for copyable input
Out[6]=
In[7]:=
Click for copyable input
Out[7]=
In[8]:=
Click for copyable input
Out[8]=
Introduced in 2014
(10.0)
Translate this page: