Manage Learn to apply best practices and optimize your operations.

Use Of Evaluate And @Explode To Send A Lot Of Parameters.

The following function behaves like the java script split function using the
Notes Formula @Explode function. It takes a delimited string and returns an
array of all the elements found in the imploded string.
It is usful especially In case a developper needs to send a lot of string
parameters to a sub or a function, this occur frquently when you need to send
some field names as paramaters for processing.
It facilitates sending and recieving the parameters as one string delimited by
any dilimiter you choose, but you have to use the same delimiter string when
imploding your parameters as well as when exploding them.
Function SplittedStr ( ImplodedStr$, StrDelimiter$) as variant

SplittedStr = Evaluate(|@Explode("| & ImplodedStr & |";"| & StrDelimiter & |")|)

End function

Dig Deeper on Domino Resources - Part 7



  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...