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

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


FilledSmallSquare StringLength["string"] gives the number of characters in a string.

FilledSmallSquare Example: StringLength["tiger"] LongRightArrow.

FilledSmallSquare StringLength counts special characters such as as single characters, even if their full names involve many characters.

FilledSmallSquare See Section 2.8.2.

FilledSmallSquare See also: Length, Characters.

FilledSmallSquare New in Version 1; modified in 3.

Further Examples