Vincent Lee wrote:
>
> Hello All,
Hello,
> I've got a problem with the JOIN function
>
> I've got a list of columns that gets returned from the
> database.
>
> I push the column values into an array and then join
> them with a comma. The problem is that JOIN puts a
> comma in the first value.
>
> How do I get rid of the comma in the first value?
> Is the database returning a null field in the first
> columns, is that why it's returning a comma?
>
> join (",",@columns);
join( ',', grep( length, @columns ) );
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]