Razzak Your explantion is exactly as I expected, that was how I thought things worked. But: sho version R:BASE v7.1 DOS (32-bit), U.S. Version, Build: 7.003xRT04 SET VAR v1 = 'ABCD ' SET VAR v2 = 'E' SET VAR v3 = (.v1 + .v2) SET VAR v4 = ( (strim(.v1)) + .v2) SHO VAR v% Variable = Value Type ------------------ ------------------------------ -------- v1 = ABCD TEXT v2 = E TEXT v3 = ABCD E TEXT v4 = ABCDE TEXT
I can add I can not replicate this in win version of 7.1 Gunnar Ekblad -----Ursprungligt meddelande----- Fr�n: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] F�r A. Razzak Memon Skickat: den 9 augusti 2004 01:44 Till: RBG7-L Mailing List �mne: [RBG7-L] - Re: Puzzeled At 04:43 PM 8/8/2004 +0200, Gunnar Ekblad wrote: >What settings have me to require the STRIM function? >It is not a problem I am just curious what made me >require the strim today when I lived without it for >maybe 15 years Gunnar, FYI, whenever strings where concatenated and the components are variables, trailing blanks are always truncated. The same rule applies when doing expressions and have always trimmed trailing spaces. This is the whole reason we have two concatenate operators, one (+) which does not preserve trailing spaces, and another (&) which supplies one trailing space. If you need more that one blank space, you need to use hard space character values. Hope that helps! Very Best R:egards, Razzak.
