Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How do I split a long string without any spaces up?

by vroom (His Eminence)
on May 02, 2000 at 20:47 UTC ( [id://9952]=note: print w/replies, xml ) Need Help??


in reply to How do I split up a long string with no spaces?

$string=~s/(\S{$numoflettersbeforebreaking})/$1 /g;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-20 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found