Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Split criteria

by arkturuz (Curate)
on Nov 05, 2008 at 09:45 UTC ( [id://721586]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<DATA>) {
        my $str = $_;
    ...
        my @parts = split(':::', $str);
        print join("==>", @parts), "\n";
    }
    
  2. or download this
    !A001ST!==>!98!==>!1!==>!01/10/1999!==>!EUROPEENNE!==>!0!==>!EUR!==>!6
    +!==>!7!==>!0!==>!98!==>!1!
    
    !A001ST!==>!AD,CD!==>!1!==>!20/05/2004!==>!ANDORRA!==>!0!==>!EUR,USD!=
    +=>!6!==>!7!==>!0!==>!AD!==>!1!
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-04-24 10:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found