Trailing spaces are routinely dropped by RBASE. This is the expected behavior.
Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Bruce A. Chitiea Sent: Monday, July 01, 2013 4:16 PM To: RBASE-L Mailing List Subject: [RBASE-L] - SGET, Variables and Trailing <Space> 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

