Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Smoothing text input

by hbm (Hermit)
on Aug 29, 2012 at 19:08 UTC ( #990531=note: print w/ replies, xml ) Need Help??


in reply to Smoothing text input

Just grab the non-spaces?

sub wordBreak { my ($string) = @_; return $string =~ /\S+/g; }


Comment on Re: Smoothing text input
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://990531]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2015-07-07 12:36 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 (88 votes), past polls