Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by vroom (His Eminence)
on Jan 11, 2000 at 23:28 UTC ( [id://1972]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1972]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-18 17:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found