Results 1 to 6 of 6

Thread: [RESOLVED] how to do

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    54

    Resolved [RESOLVED] how to do

    hi

    can anybody please suggest how to remove quotes from a string ,

  2. #2
    Hyperactive Member drattansingh's Avatar
    Join Date
    Sep 2005
    Posts
    395

    Re: how to do

    what you mean remove quotes?

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    54

    Re: how to do

    Quote Originally Posted by JenniferBabe
    what you mean remove quotes?


    there is a string containing quotation mark ( " ) how to remove the quotation mark from string . string.replace( ) what parameter should i give for quotation mark

  4. #4
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: how to do

    A single quote is \". So the replace string would be "\"".

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: how to do

    myString.Replace("\"", string.Empty)
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    54

    Re: how to do

    Thanks penagate, thanks for your quick reply, as i was in the client side so i couldnot manage to refer any books or tutorial to check this.

    thanks to jmcilhinney also , but i got the hint already.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width