[50953] in SAPr3-news
Re: Programming Question - Escape character for apostrophe - '
daemon@ATHENA.MIT.EDU (yokie_joe@hotmail.com)
Thu Aug 5 09:25:57 2004
To: sapr3-news@mit.edu
Date: 5 Aug 2004 06:25:49 -0700
From: yokie_joe@hotmail.com
Message-ID: <cetcgt$hra@odak26.prod.google.com>
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.