Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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); }


Comment on Re (tilly - silly) 1: Counting number of characters in a string
Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (16)
As of 2014-12-18 16:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (58 votes), past polls