Section 2.1.3 of the manual is pretty clear, I think:
2.1.3. Strings
Character strings in Jess are denoted using double quotes
("). Backslashes (\) can be used to escape embedded quote
symbols. Note that Jess strings are unlike Java strings in several
important ways. First, no "escape sequences" are recognized. You
cannot embed a newline in a string using "\n", for example. On the
other hand, real newlines are allowed inside double-quoted strings;
they become part of the string. The following are all valid strings:
"foo" "Hello, World" "\"Nonsense,\" he said firmly." "Hello,
There"
The last string is equivalent to the Java string "Hello,\nThere".
I think [EMAIL PROTECTED] wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi all,
>
> I have a doubt about how insert quotations marks (") into a string?
>
> Example:
> in - (str-cat "computers are "intelligents". ")
> out - computers are "intelligent".
>
---------------------------------------------------------
Ernest Friedman-Hill
Distributed Systems Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://herzberg.ca.sandia.gov
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------