Convert array to string

My problem is that I have an multivalue field in a document and I want to translate this array to a string.

Example :

doc.Test(0) = “Test”

doc.Test(1) = “Test 1”

etc.

I want to return from doc a string like this : test, test1

How I can do this

Thanks

Subject: Convert array to string

Use GetItemValue to get the contents of the field as an array, then use Join to turn them into a string:

arr_thevalsIwant = doc.getitemvalue(“Test”)

the_string = join(arr_thevalsIwant, “,”)

Subject: Convert array to string

Look up @Implode in the help file and then scan down to the language cross reference at the bottom.

Subject: Convert array to string

Bonjour Eric,

Try "@Implode( Test; “, " )” if you want it in @Formula.