String Length

From Progzoo

Revision as of 14:28, 20 April 2008 by Andr3w (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Use length() to get the number of characters.

s                   s.length()          

one                 3                   
two                 3                   
three               5                   
four                4                   


[Font] [Default] [Show] [Resize] [History] [Profile]