Double Quotes in a stringbuilder

Discussion in 'ASP .Net' started by =?Utf-8?B?SnVzdGlu?=, Mar 17, 2005.

  1. how do I insert a double qoute into a text file uing a stringbuilder?

    Thanks, Justin.
     
    =?Utf-8?B?SnVzdGlu?=, Mar 17, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?SnVzdGlu?=

    Brock Allen Guest

    StringBuilder sb = new StringBuilder();
    sb.Append("\"");

    -Brock
    DevelopMentor
    http://staff.develop.com/ballen



    > how do I insert a double qoute into a text file uing a stringbuilder?
    >
    > Thanks, Justin.
    >
     
    Brock Allen, Mar 17, 2005
    #2
    1. Advertising

  3. =?Utf-8?B?SnVzdGlu?=

    Mythran Guest

    "Brock Allen" <_hate_spam_too> wrote in message
    news:...
    > StringBuilder sb = new StringBuilder();
    > sb.Append("\"");
    >
    > -Brock
    > DevelopMentor
    > http://staff.develop.com/ballen
    >
    >
    >
    >> how do I insert a double qoute into a text file uing a stringbuilder?
    >>
    >> Thanks, Justin.
    >>

    >
    >
    >


    And in VB.Net:

    Dim sb As StringBuilder = New StringBuilder()
    sb.Append("""")
     
    Mythran, Mar 18, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Chris White

    Quotes/Double Quotes in Image Control

    Chris White, Sep 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    4,876
    Hermit Dave
    Sep 22, 2004
  2. Chris
    Replies:
    1
    Views:
    13,691
    Oisin
    Mar 24, 2006
  3. Lawrence Tierney

    Multiline quotes - escaping quotes - et al

    Lawrence Tierney, Dec 24, 2003, in forum: Java
    Replies:
    3
    Views:
    4,518
    Andrew Thompson
    Dec 24, 2003
  4. Sydex
    Replies:
    12
    Views:
    6,566
    Victor Bazarov
    Feb 17, 2005
  5. jOhn
    Replies:
    1
    Views:
    234
    Phlip
    Jan 29, 2008
Loading...

Share This Page