[50955] in SAPr3-news
Re: Programming Question - Escape character for apostrophe - '
daemon@ATHENA.MIT.EDU (Christoph Thomas)
Thu Aug 5 17:34:35 2004
To: sapr3-news@mit.edu
Date: Thu, 05 Aug 2004 23:34:23 +0200
From: Christoph Thomas <christoph.thomas@gmx.de>
Message-ID: <ceu955$hs2$1@svr7.m-online.net>
Hello Yokie,
Escape Character for ' is '. Coding: TRANSLATE PRPS_R-VERNA USING ''' '.
Your Hex Command is very interesting. Thanks for this info.
Christoph
yokie_joe@hotmail.com schrieb:
> Yokie_Joe wrote:
>
>>Hello all
>>
>>I want to do a translate or search and replace statement which will
>>check a string for the character ' and replace it with a space. Is
>>there an escape character for ' because if I write:
>>
>>TRANSLATE PRPS_R-VERNA USING '' '.
>>
>>I get a syntax error.
>>
>>thanks in advance
>>
>>Joe
>
>
> Found a solution:
>
> *27 -> HEX VALUE FOR '
> *20 -> HEX VALUE FOR SPACE
>
> data: v_apos(2) type x value '2720'.
> TRANSLATE t_file-PRPS_R-VERNA USING v_apos.
>