|
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 The Mathematica Book: Section 2.8.13.
See also: ToExpression, SyntaxLength, $SyntaxHandler, DelimiterFlashTime.
Further Examples
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT. SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION. | |