On 25.07.2008 15:56, Jeff Schmitz wrote:
Using cocoon 2.1 I'm trying to get the length of a string in my
flowscript code, but it always returns "undefined" instead of a number.
I've tried both of the below with the same results:
var part = "this is a test";
var last = part.length();
var last = part.length;
Do the string properties work in flowscript?
part.length should work since your string is a JavaScript object rather
than a Java object.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]