Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
The stupid question is the question not asked
 
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 cooling their heels in the Monastery: (17)
As of 2014-04-23 20:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (554 votes), past polls