Re: Need help converting af string of numbers to comma seperated list
- From: usenet@xxxxxxxxxxxxxxx
- Date: 2 Mar 2007 14:54:33 -0800
On Mar 2, 1:20 pm, nikolajwint...@xxxxxxxxx wrote:
Here is an example, fist the original list and afterwards how it
should turn out.
1,3,5
2,6,8
,1,,1,,1
,,1,,,,1,,1
my @array;
@array[1,3,5] = (1)x3;
print join ',', @array;
--
The best way to get a good answer is to ask a good question.
David Filmer (http://DavidFilmer.com)
.
- Follow-Ups:
- References:
- Need help converting af string of numbers to comma seperated list
- From: nikolajwinther
- Need help converting af string of numbers to comma seperated list
- Prev by Date: Perl and Python, a practical side-by-side example.
- Next by Date: Re: Need help converting af string of numbers to comma seperated list
- Previous by thread: Need help converting af string of numbers to comma seperated list
- Next by thread: Re: Need help converting af string of numbers to comma seperated list
- Index(es):