sergeysagan Posted September 10, 2003 Posted September 10, 2003 How do I add the double quotes ( " ) into a string so VB doesn't think that I'm closing one string and startin another, but so it actualy appears in my string as a double quote when I use the string for output. I know this is a newbie question but I guess I'm just not too good at using the Visual Studio help interface. Quote
*Experts* Volte Posted September 10, 2003 *Experts* Posted September 10, 2003 "Put quotes inside ""two pairs of quotes""" Quote
SourceCoders Posted October 3, 2003 Posted October 3, 2003 Yes the first answer works fine. But if you have another problem with characters in strings use the chr(X) command. X is the code for the character. For example chr(13) for the "return"-key Quote
AndreRyan Posted October 4, 2003 Posted October 4, 2003 No, the double quotes works always in VB.Net application. Chr is a legacy command the System.Text.Encoding.ASCII namespace provides equivalent functions for Asc and Chr. Quote .Net allows software to be written for any version of Windows and not break like Unmanaged applications unless using Unmanaged procedures like APIs. If your program uses large amounts of memory but releases it when something else needs it, then what's the problem?
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.