How to insert a double quote into a string

The following code does not work:
 

string kval = "Hello"
string str = "She said, " """ kval """

 


How does one go about inserting a pair of double quotes into a string?

Thanks in advance,
meherts

 


meherts - Mon Jun 14 13:14:10 EDT 2010

Re: How to insert a double quote into a string
PDU - Tue Jun 15 01:51:01 EDT 2010

Hello,

very simple, use escape sequence :
 

string kval = "Hello"
string str = "She said, " "\"" kval "\""

 


Pierre

 

Re: How to insert a double quote into a string
meherts - Tue Jun 15 09:30:17 EDT 2010

PDU - Tue Jun 15 01:51:01 EDT 2010

Hello,

very simple, use escape sequence :
 

string kval = "Hello"
string str = "She said, " "\"" kval "\""

 


Pierre

 

Thanks Pierre! I'm still familiarizing myself with the intracacies of this scripting language. I apologize if I came off as naive.

Thanks once again,
meherts