cText1 = 'Text1' + space(5) cText2 = 'Text2' ? cText1 + cText2 && returns 'Text1 Text2' ? LEN(cText1 + cText2) && returns 15 ? cText1 - cText2 && returns 'Text1Text2 ' ? LEN(cText1 - cText2) && returns 15While it is almost useless for output intended for reports, it would seem to be useful for index expressions. For example, instead of
INDEX ON PADR(TRIM(lastname)+TRIM(firstname),25) TO blahblahit would be simpler (and much more readable) to
INDEX ON lastname-firstname TO blahblahI have read messages here and elsewhere that index expressions do not _have_ to be a constant length, but I've always followed that practice since my dBaseII days.
>cText1 = 'Text1' + space(5) >cText2 = 'Text2' > >cText1 + cText2 -> 'Text1 Text2' >cText1 + cText2 -> 'Text1Text2 ' >