Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by vroom (Pope)
on Jan 11, 2000 at 23:28 UTC ( #1972=categorized answer: print w/replies, xml ) Need Help??

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

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

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (1)
As of 2017-06-28 02:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (619 votes). Check out past polls.