[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] RE: Writing a single quote in a string



The best method that I've found is:

Encode '<039>' Into $SQte and then use concatenation to replace the ' in
the string.

Leanne Harrisburg
National University
Programmer/Analyst
voice: (619) 563-2635
Fax: (619) 563-7933
 

-----Original Message-----
Date: Tue, 21 Feb 2006 10:10:51 -0500
From: "Griffith, Peggy" <Peggy.Griffith@sappi.com>
Subject: [sqr-users] Writing a single quote in a string
To: <sqr-users@sqrug.org>
Message-ID:
        <7DFF91610114AB4C8C0B068CFC34734F04F74CBF@CDFNEXC3.NA.Sappi.com>
Content-Type: text/plain;       charset="us-ascii"

Hi - my SQR is writing a text file and I need to include a single quote
as part of a string; does anyone know how to do that?  

 

Example:

let xxx = ''3207368'10001 'HRAF'

(after the first single quote there is supposed to be a single quote,
and then within the string there are 2 other single quotes as well as a
space).

 

I have been told to try using the single quote within single quotes
which does not work, also told to try 4 single quotes before the string
but that does not work.

 

Peggy Griffith

Business Systems Analyst

Sappi Fine Paper North America

179 John Roberts Road

South Portland, Maine 04016

Tel: 207.854.7466

 

 



_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users