Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 surveying the Monastery: (10)
As of 2014-10-25 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (145 votes), past polls