Search and Replace " (double quote)

Results 1 to 3 of 3

Thread: Search and Replace " (double quote)

  1. #1
    Join Date
    Dec 1969

    Default Search and Replace " (double quote)

    I have text stored in a table. It is possible for this text to have quotes. <BR><BR>I want the quotes to show when displayed to the screen, but for other processing I need to take the quotes out. Any hints on how to replace these quotes with spaces?<BR><BR>Any faq I missed?<BR><BR>Thanks..

  2. #2
    Join Date
    Dec 1969

    Default Regular Expressions are overkill here

    use the VBScript Replace method. See:<BR>

  3. #3
    Join Date
    Dec 1969

    Default Try this one out

    &nbsp;<BR>Dim myRegExp As New RegExp<BR>dim Result as string<BR><BR>myRegExp.Global = True<BR><BR>myRegExp.Pattern = Chr(34)<BR>Result= myRegExp.Replace(String_to_replace, " ")<BR>

Posting Permissions

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