Feb 17, 2017 4:31 AM
19 Posts

Alternative for @Explode?

  • Category: Other
  • Platform: All
  • Release: 9.0.1
  • Role: Developer
  • Tags: @formula,SSJS
  • Replies: 2

Hej,

I am trying to reduce the amount of @Functions in an XPages application.

What alternatives can I use for @Explode(row, ",") in SSJS or Expression language?

Feb 20, 2017 7:00 AM
177 Posts
I have been using this

does the work done:

 

<xp:this.text><![CDATA[#{javascript:var str = RowData;
var arr = str.split(",");
return arr[0];}]]></xp:this.text>