PHP:String Length

From Progzoo
Jump to: navigation, search

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

$s                  strlen($s)

one                 3
two                 3
three               5
four                4


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