Answered
split string
Is there a way to export last word of a string into a new field?
Is there a way to export last word of a string into a new field?
Use this:
var str = this.getField("Text1").valueAsString;
var xstr = str.split("");
xstr.push(xstr.shift());
ystr = xstr.join("");
event.value = ystr;
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.