A pair of adjacent single quotes signify the
quote itself.  See section I of the dictionary:
http://www.jsoftware.com/help/dictionary/dict1.htm

   t=: 'Don''t tread on me!'
   t
Don't tread on me!
   # t
18



----- Original Message -----
From: "Leigh J. Halliwell" <[EMAIL PROTECTED]>
Date: Saturday, December 9, 2006 8:29 am
Subject: [Jprogramming] Quotes in strings

> Dear JForum:
> How can I assign to variables strings that contain apostrophes and 
> singlequotes?  For example,
> Text1 =. 'John's house is large.'
> Text1 =. 'The word 'toot' is a panlidrome.'


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to