How can i replace this string:
<say"Hello">
with another strings in VB.net? this program is not working!!
Text1.Text = Text1.Text.Replace("<say"Hello">", " ")
To get a literal quote in a string, use a double quote ( ""
) as so:
Text1.Text = Text1.Text.Replace("<say""Hello"">", " ")
The string will then be interpreted as this:
<say"Hello">
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.