Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

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


in reply to Counting number of characters in a string

my $len = map $_, $str =~ /(.)/gs;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://63992]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2017-04-26 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (493 votes). Check out past polls.