Mathematica 9 is now available

Documentation / Mathematica / Built-in Functions / Programming / String Manipulation /

LetterQ

FilledSmallSquare LetterQ[string] yields True if all the characters in the string are letters, and yields False otherwise.

FilledSmallSquare LetterQ[string] by default gives False if string contains any space or punctuation characters.

FilledSmallSquare LetterQ handles both ordinary and special characters.

FilledSmallSquare LetterQ treats as letters all special characters explicitly listed as letters in the table in Section A.12.1.

FilledSmallSquare In general, LetterQ treats as letters all characters that appear as ordinary text in any language.

FilledSmallSquare LetterQ treats as letters such special characters as , , and .

FilledSmallSquare LetterQ does not treat as letters (\[EmptySet]), (\[HBar]), (\[Angstrom]) or (\[Sum]).

FilledSmallSquare See Section 2.8.4.

FilledSmallSquare See also: DigitQ, UpperCaseQ, LowerCaseQ, CharacterRange.

FilledSmallSquare New in Version 2; modified in 3.

Further Examples



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.