All:

RBGeX95(64) latest

I'm attempting to SGET a three-character text string which includes leading
and trailing <space>s:

SET VAR vDot = (SGET(.vHumpty,3,5))
SHOW VAR vDot = '<sp><dot><sp>' is the intent.

The capture length and starting position are correct. There is a trailing
space in every target string.

What I consistently get is:
SET VAR vDot = (SGET(.vHumpty,3,5))
SHOW VAR vDot = '<sp><dot>'.

I've attempted appending a <space> onto the end:

SET VAR vTwoSpace = (.vDot + ' ')
SHOW VAR vTwoSpace = '<sp><dot>'

I've variablized the trailing space

SET VAR v2ndSpace = ' '
SET VAR vTwoSpace = (.vDot + .v2ndSpace)
SHOW VAR vTwoSpace = '<sp><dot>'

What am I missing?

Bruce


Reply via email to