Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl: the Markov chain saw
 
PerlMonks  

Answer: How do I find the length of a string?

( #1972=categorized answer: print w/ replies, xml ) Need Help??

Q&A > strings > How do I find the length of a string? contributed by vroom

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

Comment on Answer: How do I find the length of a string?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-04-21 15:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (495 votes), past polls