=> @id=("aaa bbb ccc","ddd eee fff","ggg hhh iii","jjj kkk lll"); I don't what to do to print only "aaa" and then "bbb" then "ccc".... exactly i want to store each one in a different string. Thank you very much for your time.my $ident="aaa bbb ccc-ddd eee fff-ggg hhh iii-jjj kkk lll-"; my @id= split/-/,$ident;
In reply to spliting arrays by bory
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |