Handling quotes in strings

NeoTechni

Well-Known Member
Licensed User
Longtime User
In VB, it let you set strings with quotes in them by replacing double quotes with a single quote instead of using it to end the string

ie:

tempstr = "Hello ""world"", how it it?"
text value is Hello "world", how it it?

or

tempstr = "Hello ""world"""
text value is Hello "world"
 
I miss the double quotes too. Far more compact and easier to code than & chr(34) & or & quote &. But at least there's a way.
 
Back
Top