"TextLine" (Interpreter Type)
-
See Also
- Interpreter
- Restricted
- Failure
-
- Interpreter Types
- String
- TextArea
- URLString
- Related Guides
-
-
See Also
- Interpreter
- Restricted
- Failure
-
- Interpreter Types
- String
- TextArea
- URLString
- Related Guides
-
See Also
"TextLine" (Interpreter Type)
A single line of text.
Details
- "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.
Restriction Specifications
-
Restricted["TextLine",{{choice1,…}}] one among choices Restricted["TextLine",pattern] a string matching pattern Restricted["TextLine",pattern,length] a string matching pattern and shorter than length
Interpretation
- "TextLine" yields the input string unchanged.
Examples
Basic Examples (3)
Interpret single lines of text:
Interpreter["TextLine"]["To be, or not to be--that is the question"]Interpreter["TextLine"]["apple
bee
cat"]Interpreter[Restricted["TextLine", "ab" ~~ _]]["Lorem ipsum dolor sit amet"]Interpreter[Restricted["TextLine", "ab" ~~ __]]["abcdefg"]Interpreter[Restricted["TextLine", Automatic, 5]]["abcdefg"]Related Guides
History
Introduced in 2014 (10.0)