Perl:String Length

From Progzoo
Revision as of 21:55, 8 May 2008 by Andr3w (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Use length($s) to get the number of characters.

$s                  length($s)

one                 3
two                 3
three               5
four                4


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