|
SyntaxQ
SyntaxQ["string"] returns True if the string corresponds to syntactically correct input for a single Mathematica expression, and returns False otherwise.
If SyntaxQ returns False, you can find the position of a syntax error using SyntaxLength.
See Section 2.9.13.
See also: ToExpression, SyntaxLength, $SyntaxHandler, DelimiterFlashTime.
New in Version 2.
Further Examples
|