in reply to How do I find the length of a string?
For a variable $string Its length $stringlength can be found thus:
$stringlength = length($string); [download]
Originally posted as a Categorized Answer.