FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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
178 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>


FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.