Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 imbibing at the Monastery: (11)
As of 2015-07-31 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls