Comma Problem

Hi,

In the code i am handling dynamic array of size 5. The original size of the array can be 1,2 on ocassions. When i assign the array to a value in the document, i am getting the output as

A,B,

I want to display only values. I dont want the Comma’s when there is no value.

In the above case i want output to be A,B

Can anyone help me on this.

Thanks in Advance

Subject: Comma Problem

please post your code

Subject: Comma Problem

If you are doing this in LotusScript, then try this

doc.Fieldname = fulltrim(array)

That should remove the empty elements of the array.

Subject: RE: Comma Problem

Thanks Jerry. It worked.