Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > String Manipulation > Character Operations >

CharacterRange

CharacterRange["c1", "c2"]
yields a list of the characters in the range from "c1" to "c2".
Letters a through z:
Letters A through Z:
Digits 0 through 9, as strings:
Greek alphabet (including FinalSigma):
Printable ASCII characters:
Give letters as labels:
Find sequences of uppercase letters:
Replace every letter by X:
Make random 5-letter "words":
Count the number of occurrences of letters a-z:
Not all letters of all types exist as a contiguous block in character space:
A block of character space (the detailed output depends on the fonts that are loaded):
New in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team