Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Putting " in a string

Status
Not open for further replies.

lytus

MIS
Jun 17, 2004
48
US
Hi all, I need to put a " in a string. So I need something like:
varTemp = "This is an "EXAMPLE" of what I need!"

Make sense? How do I do this?
 
Code:
varTemp = "This is an " & chr(34) & "Example" & chr(34) & " of what I need!"
 
Another way:
varTemp = "This is an ""EXAMPLE"" of what I need!"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
PHV.. showoff! lol. Don't you have anything better to do? <wink>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top