in reply to How do I find the length of a string?

length($string) returns the number of characters in a string.
$foo = "quux"; $foolen = length $foo; # in this case, 4