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

Re: Double single quote



In SQR to embed a quote inside a literal string you must type the quote
twice inside the literal or use a variable containing a quote to build
your string:

Here are some choices:

  move 'winner''s choice' to $string    ! resulting string is winner's
choice

or
  let $quote = chr(39)  ! or let $quote = ''''  (4 single quotes)

  let $string = 'winner' || $quote || 's choice'

SQR has a similar requirement for exclamation points:

  move 'winner''s choice!!' to $string  ! resulting string is winner's
choice!         !

Hope this helps.


Gina Bencke
Bencke Consulting Corporation
gina@bencke.com

-----Original Message-----
From: Bao Chau Ngo [mailto:bngo@ALDOGROUP.COM]
Sent: Monday, October 25, 1999 9:52 AM
To: Multiple recipients of list SQR-USERS
Subject: Double single quote


Hi every Body

     I have a string = winner's choice  I want to put double single
quote
in this.  How I do that.

     Thank in advance.