This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)


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