I know that strings surrounded by single quotes can contain double quotes and vice versa, but can a string contain both? For example, the string:
How do you say, "Where's the bathroom?" in Spanish?
I know that strings surrounded by single quotes can contain double quotes and vice versa, but can a string contain both? For example, the string:
How do you say, "Where's the bathroom?" in Spanish?
A backslash character should work to escape an embeded quote or apostrophe, e.g. \"
It's been a very long time and a quick google search wasn't helpful. Have you tried these?
"How do you say, \"Where's the bathroom?\" in Spanish?"
"How do you say, ""Where's the bathroom?"" in Spanish?"