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

Re: Including inverted commas within the STRING statement



Harry,

You simply double the quotation mark:

  print 'The Beatles sang ''Can''t Buy Me Love.''' ()
result
The Beatles sang 'Can't Buy Me Love.'

Welcome,

Eric

PS. The same goes for exclaimation marks in strings:
   print 'Go Packers!!' ()

   print 'Go Pats!' ()
is an error.

On Thu, 23 Jan 1997, Harry at Planet Connect wrote:

> How can I include a ' within a STRING  statement (so as to build a
> dynamic variable).
>
> Thanks
>
> Harry
>