Filtering quotation text in a string for use in SQL and such


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Filtering quotation text in a string for use in SQL and such

  1. #1
    John Vogel Guest

    Filtering quotation text in a string for use in SQL and such


    I need to get some text from a field in a database, and use that text in certain
    functions (like for instance an alert window). This is all done is ASP. I
    need to figure out how to strip the text from the field of all single and
    double quotes, before passing it on to other functions and such. Can anyone
    help me? Thanks in Advance.

    John Vogel

  2. #2
    John Timney (MVP) Guest

    Re: Filtering quotation text in a string for use in SQL and such

    use the replace function

    --
    Regards

    John Timney
    Microsoft MVP
    (http://support.microsoft.com/support/mvp/program.asp)
    Co-Author Professional JSP
    ISBN: 1-861003-62-5



    John Vogel <johnvogel@computerwiz.net> wrote in message
    news:39e0cdd4$1@news.devx.com...

    I need to get some text from a field in a database, and use that text in
    certain
    functions (like for instance an alert window). This is all done is ASP. I
    need to figure out how to strip the text from the field of all single and
    double quotes, before passing it on to other functions and such. Can anyone
    help me? Thanks in Advance.

    John Vogel



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center