Source:
Dim Str As String ="<div class="title">"Used \ not works:
Dim Str As String ="<div class=\"title\">"
Solution:
You mean to use a double quotation mark in front of the quotation mark you want escape.
Dim Str As String ="<div class=""title"">"
Reference:
https://stackoverflow.com/questions/7767037/how-to-put-data-containing-double-quotes-in-string-variable
No comments :
Post a Comment