Double quotes in character strings
Lee Curtis
Lee.Curtis@lightsout.co.uk
Thu, 18 May 2000 15:46:06 +0100
Try the following :-
define DOUBLE_QUOTE _N integer*3 unsigned size 1 bytes = 34
; Ascii 34 is "
define DOUBLE_QUOTE_C character*1 = characters (DOUBLE_QUOTE_N) ;
Converts number to "
define STRING character*10 = DOUBLE_QUOTE + "THIS SHOULD BE IN QUOTES" +
DOUBLE_QUOTE
-----Original Message-----
From: Enid Gentle [mailto:GentleE@rsc.org]
Sent: 18 May 2000 15:28
To: powerh-l@lists.swau.edu
Subject: Double quotes in character strings
Anybody....
I need to output a character string from a QTP request and
that character
string must contain an HTML command which itself contains
double quotes.
How can I escape the double quotes within the character
string to ensure
that I get the double quotes appearing in the output string?
I know that it is not absolutely essential for HTML to use
the quotes, but
it is now a question we need to know the answer to.
Can anyone help?
Enid Gentle
Senior Analyst Programmer
gentlee@rsc.org <mailto:gentlee@rsc.org>
Turpin Distribution Services Limited
Blackhorse Road
Letchworth, Herts. SG6 1HN
tel: 01462 672555
visit Turpin OnLine BookShop at: www.turpinbooks.com
<http://www.turpinbooks.com>
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
= = = = = = = =
Subscribe: "subscribe powerh-l" in message body to
majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to
majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a
subscriber.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.