SPUT
(SPUT(
text
,
string
,
pos
))
Puts
string
into
text,
starting at
pos
, returning a text string.
The value of
vsput1
in the following example is
AXCDE
. The character
X
is put into the second position in the string
ABCDE
.
SET VAR vsput1 = (SPUT('ABCDE','X',2))