Escaping quotes in a string in VB6

You can use "" to insert a quote into a string e.g:

dim sometext as String = "Hello ""Frank"" how are you?"

Which gives you

Hello “Frank” how are you?

Leave a Comment