THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE
DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.
Built-in Functions
Programming
String Manipulation
StringLength
Usage
•
StringLength["
string
"]
gives the number of characters in a string.
Notes
• Example:
StringLength["tiger"]
.
•
StringLength
counts special characters such as
as single characters, even if their full names involve many characters.
•
StringLength[{
,
,
...
}]
gives the list of lengths of each of the
.
• See
Section 2.8.2
.
• See also:
Length
,
Characters
.
• New in Version 1; modified in 5.1.
Further Examples
© 2008 Wolfram Research, Inc.
•
Terms of Use
•
Privacy Policy
Sign up for our newsletter: