Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
Reality V15.0 ()
SPLICE Function (DataBasic) (m618703+splice_f.htm)
Concatenates the elements in two dynamic arrays, separating the concatenated elements with a delimiter.
SPLICE(dynArray1, delimiter, dynArray2)
dynArray1, dynArray2
DataBasic expressions
that evaluate to dynamic arrays.
delimiter A string that will be used to separate the concatenated elements.
A dynamic array formed by combining dynArray1 and dynArray2. Each element contains the result of concatenating the element in dynArray1 with the corresponding element in dynArray2, separating the two with delimiter.
If an element of one dynamic array has no corresponding element in the other dynamic array, the element is returned prefixed or followed by delimiter as appropriate.
CATS function.
ARY1 = 100:@AM:200:@AM:300:@VM:"ZA" ARY2 = "X":@VM:"XA":@AM:"Y":@AM:"Z" DELIM = ">" NEWARY = SPLICE(ARY1, DELIM, ARY2)
Sets NEWARY to "100>XVM>XAAM200>YAM300>ZVMZA>".