Thread C - String Operation (13 answers)
Opened by RPerl at 2007-10-22 15:47

bloonix
 2007-10-22 16:18
#101185 #101185
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
Code: (dl )
1
2
3
4
5
6
my @array = qw/
aaa;bbb;ccc;ddd
eee;fff;ggg;hhh
/;

@array = map { join(', ', map { "\"$_\"" } split /;/) } @array;


:P
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread C - String Operation