Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Splitting each word in a string

by khota (Initiate)
on Jun 26, 2001 at 18:50 UTC ( [id://91608]=note: print w/replies, xml ) Need Help??


in reply to Splitting each word in a string

You can use split (/ +/,$string); The + meaning that you want to consider one or more spaces as separators.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-04-18 04:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found