"TextLine" (interpreter type)

A single line of text.

DetailsDetails

  • "TextLine" can be used in Interpreter and related constructs, including deployed smart form fields.
  • Use of "TextLine" does not require connectivity to the Wolfram Cloud.

Allowed FormsAllowed Forms

  • Any string with no newline or carriage return.

Restriction SpecificationsRestriction Specifications

InterpretationInterpretation

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Interpret single lines of text:

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

Restrict to a given pattern:

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

Set a bound for the length:

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