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

StringLength

StringLength["string"]
gives the number of characters in a string.
  • StringLength counts special characters such as as single characters, even if their full names involve many characters.
  • StringLength[{s1, s2, ...}] gives the list of lengths of each of the si.
New in 1 | Last modified in 5.1
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team