May 15, 2002 #1 C Cheung Guest Do you know any function that change (single quote) to (2 single quotes) in a string?
May 16, 2002 #2 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 There arent escape characters in VB.NET. You can use two double quotes ("") next to each other to have an inline double quote in a string, e.g. Code: strString = "This ""word"" is enclosed in double quotes."
There arent escape characters in VB.NET. You can use two double quotes ("") next to each other to have an inline double quote in a string, e.g. Code: strString = "This ""word"" is enclosed in double quotes."
May 16, 2002 #3 C Cheung Guest Any function to do this for me? function input string = It isnt bad function output string = It isnt bad Thx!
Any function to do this for me? function input string = It isnt bad function output string = It isnt bad Thx!
May 16, 2002 #4 Divil Well-known member Joined Nov 17, 2002 Messages 2,748 Oh, I misunderstood. Use the Replace() function.
May 16, 2002 #5 P Perl Guest Code: Dim MyString as String = "Hello My Name Is Simon" MyString.replace( "", Chr(34) ) *Should Work* Or you could just write it out using Chr(34) but who wants to do that ?
Code: Dim MyString as String = "Hello My Name Is Simon" MyString.replace( "", Chr(34) ) *Should Work* Or you could just write it out using Chr(34) but who wants to do that ?