Question on ""

Question on ""

Post by Michael R. » Tue, 18 Jan 2005 02:59:17


thrdReply.SMSMessage = "The keyword " + Keyword + "does not exists. Please
try again."

I want to add "" around the String Keyword and am not exaclty sure what to
do.

Thanks,
Mike


--
THIS TRANSMISSION CONTAINS PROPRIETARY AND CONFIDENTIAL INFORMATION.This
information is intended to be for the exclusive use of the individual or
entity named above. If you are not the intended recipient, be advised that
any disclosure, copying, distribution or other use of this information is
strictly prohibited. If you have received this transmission in error,
please notify us by telephone at +16717881000 or by email to XXXX@XXXXX.COM
immediately.
 
 
 

Question on ""

Post by Herfried K » Tue, 18 Jan 2005 03:19:51

"Michael R. Pierotti" < XXXX@XXXXX.COM > schrieb:

Encode each double quote by two consecutive double quotation mark
characters:

\\\
... = "The keywords """ & Keyword & """ does not exist. Please try again."
///

I suggest to use the '&' operator for concatenating strings instead of using
'+'.

--
M S Herfried K. Wagner
M V P <URL: http://www.yqcomputer.com/ ;
V B <URL: http://www.yqcomputer.com/ ;

 
 
 

Question on ""

Post by Michael R. » Tue, 18 Jan 2005 03:55:46

Nope that does not work

thrdReply.SMSMessage = "The keyword "" & Keyword.toUpper & "" does not
exist. Please try again."
Gives me

The Keyword & Keyword.toUpper & does not exist. Please try again.



Please
to
again."
using
 
 
 

Question on ""

Post by Herfried K » Tue, 18 Jan 2005 04:03:18

Michael,

"Michael R. Pierotti" < XXXX@XXXXX.COM > schrieb:

I can only repeat what I said:

\\\
... = "The keywords """ & Keyword & """ does not exist. Please try again."
///

Notice that there are actually three (!) consecutive double quotation
characters. The last one is used to terminate the first string literal
before the '&' operator.

--
M S Herfried K. Wagner
M V P <URL: http://www.yqcomputer.com/ ;
V B <URL: http://www.yqcomputer.com/ ;
 
 
 

Question on ""

Post by Michael R. » Tue, 18 Jan 2005 04:11:01

Gotcha. Font on my screen is so small I missed the extra " in there :s
Thanks,
Mike



again."
 
 
 

Question on ""

Post by Cor Ligthe » Tue, 18 Jan 2005 04:14:34

\\\
... = """The keywords " & Keyword & """ does not exist. Please try again."
///

I hope this helps?

Cor