PDF-Forms is a service provided by PDFzone.com | http://www.pdfzone.com/ __________________________________________________________________

There is more Acrobat JavaScript can than it is written in the Acrobat JavaScript Scripting Reference. Acrobat JavaScript has also almost everything implemented that is in the JavaScript 1.5 Core. The documentation for this part can be loaded from the Netscape developer website. The exact link is in the Acrobat JavaScript documentation.

And among the Core objects, there is the Array object, which does indeed have a way to create an array, and that is the split() method, which allows you to specify the character at which the string should get splitted, and the elements in-between become the elements of the array.

The other way round does work too, and that is the join() method, which also allows you to specify the separator.

Hope, this can help.


Max Wyss PRODOK Engineering Low Paper workflows, Smart documents, PDF forms CH-8906 Bonstetten, Switzerland

Fax:  +41 1 700 20 37
  or  +1 815 425 6566
e-mail:  mailto:[EMAIL PROTECTED]
http://www.prodok.com



[ Building Bridges for Information ]


______________________




Shameless Plug:

My next conference appearances and workshops:
• Conference presentations at the 2004 Symposium of the BFMA, May 23 to 27 in Reno, Nevada (http://www.bfma.org) and pre-/post-conference workshop, May 22/23 and 27, organized by essociates Group (http://www.essociatesgroup.com/AdvancedAcrobatForms.htm)
• And, as always, available for on-site workshops/tutorials/consulting.



_________________________





Today, I've had the problem, that I have to convert an array into a string,
because I needed the possibility, to split a data string in an array, like:
data1;data2;data3


How can I do that? I can't split an array, can I? So I think, I have to put
the value of the array in a string, and then split the string again. Is this
the right way?


To change your subscription:
http://www.pdfzone.com/discussions/lists-pdfforms.html



Reply via email to