AnsweredAssumed Answered

Javascript function split not working

Question asked by kamielvdz on Sep 29, 2011
Latest reply on Sep 29, 2011 by mikeh
When I try to use the split funtion in javascript in a webscript on a string it always returns 0 elements.

e.g.

var test = "test.string.test";
var testArray= test.split(".");

testArray is alway empty.

I'm guessing this has to do with the javascript implementation used by the webscripts.

It's easy enough to work around, but thought I should mention it.

Outcomes