Click to See Complete Forum and Search --> : Double quote problem


CecileR
May 26th, 2001, 04:19 AM
Hi!
I need your very help. How will I display this string with a double quote in it:

("int") are "casted"

I use this :
" ("int" are "casted" "

but it gets an error. Urgent help please...

Thanks,

cecile

The more u read, the more u do not know

swatirs
May 26th, 2001, 06:23 AM
Try this

str = "(""int"") are ""casted"""
'or a std solution to this type of problems is to use the chr to generate the character u want to use

str = "(" & chr(34) & "int" & chr(34) & ") are " & chr(34) & "casted" & chr(34)