Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

StringLength

Usage

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


Notes

• Example: StringLength["tiger"]LongRightArrow .
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.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2008 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: