On Dec 28, 8:13 am, NeilOz <Nei...@xxxxxx> wrote:
Quote:
> I have imported a csv using import-csv
>
> $clcode = import-csv $csvlocation | select clcode
>
> $clcode results are a list of 6 digit numbers, for the next part of the
> script I need to add ',' to the end of the 6 digits, I have messed around
> with different methods and have been unable to figure out how to do it,
> easily.
>
> Please help 
> Neil Neil,
This should do the trick:
for ( $i = 0; $i -lt $clcode.Length; $i++ )
{
$clcode[ $i ] += ","
}
Jeff