Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re (tilly - silly) 1: Counting number of characters in a string

by tilly (Archbishop)
on Mar 13, 2001 at 02:48 UTC ( #64006=note: print w/replies, xml ) Need Help??


in reply to Counting number of characters in a string

{ $str =~ s/./\n/g; local $/ = ""; $len = chomp($str); }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://64006]
help
Chatterbox?
and the fog begins to lift...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (2)
As of 2017-11-18 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (277 votes). Check out past polls.

    Notices?