I have encountered some unexpected behavior using the SPLICE function. I'm hoping someone can tell me what I'm missing.
I'm on UniVerse 11.1.9 (yeah, i know it's old) running on Linux.
Consider the following code.
ARRAY1 = 'ONE'
ARRAY2 = CHAR(246):CHAR(247):CHAR(248):CHAR(249):CHAR(250)
CRT
CRT 'System Delimiters'
CRT 'CHAR(251) = ':CHAR(251)
CRT 'CHAR(252) = ':CHAR(252)
CRT 'CHAR(253) = ':CHAR(253)
CRT 'CHAR(254) = ':CHAR(254)
CRT 'CHAR(255) = ':CHAR(255)
CRT
CRT 'ARRAY1 = ':ARRAY1
CRT 'ARRAY2 = ':ARRAY2
CRT
CRT 'Expected = ONE:':ARRAY2
CRT 'Actual = ':SPLICE(ARRAY1, ':', ARRAY2)
Here is a screenshot of the output.

Notice all the colon (":") characters. Notice also that char(247) seems to have been changed to char(255).
What is going on here?