Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo
Quotes within a text string (Thursday, December 23, 2004)
 

Found the following interesting discussion in the Newsgroups:

Quotes within a text string
by:Anonymous



ADVERTISEMENT


Is there any way to display quotes Themselves - within a text string

textbox1.text = "This is a "test" of inserting quotes".

I want to actually use quotes within this string around the word
test - but the program picks this up as me ending the string and then
obviously does not like the work test just sitting there and then it
tries ot start up the string again.

Is there a way to insert a special ascii character?

thanks.



 Reply:
by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])

 
\\TextBox1.Text = "This is a ""test"" of inserting quotes"
///

--
Herfried K. Wagner [MVP]



Posted by Xander Zelders



 
Previous Posts
    - Quotes within a text string
    - Set the default "initial" value of a ComboBox
    - Re: Restrict keys in textbox w/o KeyAscii?
    - Returning values FROM window form
    - Make multithreading do only X threads at a time.
    - Is it possible to execute an iSeries program from ...
    - Datagrid columns
    - XML?, INI File?, How do I do this?
    - character selection in a string
    - Split function not working.....

Archives
    - 10/03/2004 - 10/10/2004
    - 10/10/2004 - 10/17/2004
    - 10/17/2004 - 10/24/2004
    - 10/24/2004 - 10/31/2004
    - 10/31/2004 - 11/07/2004
    - 11/21/2004 - 11/28/2004
    - 11/28/2004 - 12/05/2004
    - 12/05/2004 - 12/12/2004
    - 12/12/2004 - 12/19/2004
    - 12/19/2004 - 12/26/2004
    - 12/26/2004 - 01/02/2005
    - 01/23/2005 - 01/30/2005
    - 01/01/2006 - 01/08/2006
    - 09/24/2006 - 10/01/2006


Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland