I wanted to insert the records I had extracted from website to DB, but the extraction text contained the symbol apostrophe, and had caused me syntax error during sql insertion. May I know how to replace apostrophe with "’" instead in WebHarvest?
Thanks in advance!
I normally use the script element to work on strings, and then output to a new webharvest variable. For example:
as a side note, instead of quoting your apostrophes in quotes it is much better to quote the whole chunk of data eg:
"a string with a ' single quote"instead ofa string with a "'" single quote