Thanks, Razzak.
I think it's worth pointing out that, if variable X=('John'+CHAR(160)+'Doe
loves RBase'), then (SSUB(.X,-2))='loves' even though variable X looks like
'John Doe loves RBase'.
Regards,
Stephen Markson
The Pharmacy Examining Board of Canada
416.979.2431 x251
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak Memon
Sent: March-25-15 5:31 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Adding a space to the end of a variable
At 07:53 PM 3/24/2015, Clive Williams wrote:
>Hi Bob
>
>That is the ANSI character set try 160 instead.
At 02:02 PM 3/25/2015, Stephen Markson wrote:
>I'm sure I've posted this before (under the subject 160 is the new
>255), but it never hurts repeating. Perhaps something could be added to
>the Help, or an FTE:
>
>In the ASCII character set used for DOS, CHAR(255) was indeed a hard space.
>Windows, however, uses the ANSI character set in which CHAR(160) is the
>hard space.
>
>As you have noticed, ANSI CHAR(255) is the 'y' with an umlaut.
Clive and Stepehen,
Yes, that is the correct "hard space" when using R:BASE eXtreme 9.5 for Windows.
All String Manipulation Functions in R:BASE eXtreme 9.5 should also recognize
that "hard space" accordingly.
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
32 years of continuous innovation!
17 Years of R:BASE Technologies, Inc. making R:BASE what it is today!
--