Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: split and join

by nobettername (Initiate)
on Nov 10, 2005 at 08:06 UTC ( #507311=note: print w/ replies, xml ) Need Help??


in reply to split and join

Hi, Can anyone tell me how to split the data {"0.7591.4166.6352.6465.4574.1653.833"} into {"0.759","1.416","6.635","2.646","5.457","4.165","3.833"} Thanks in advance.


Comment on Re: split and join
Re^2: split and join
by ysth (Canon) on Nov 10, 2005 at 09:36 UTC
    $data = "0.7591.4166.6352.6465.4574.1653.833"; @data = $data =~ /\d\.\d\d\d/g;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (12)
As of 2015-07-06 07:23 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 (70 votes), past polls