I'm not sure exactly what you mean, but yeah, anytime you have a quotation mark inside a String, you need to escape it. Doesn't matter if the String is split up into multiple String primitives or...
Type: Posts; User: KevinWorkman
I'm not sure exactly what you mean, but yeah, anytime you have a quotation mark inside a String, you need to escape it. Doesn't matter if the String is split up into multiple String primitives or...
You have to remember that "\"" is a String, so you do String concatenation exactly like you do with any other String. For example, consider this:
String chr = "Y";
"Purple" + chr + "."...
Use an escape character. Like this: "\"Purple\""
Recommended reading: Characters (The Java™ Tutorials > Learning the Java Language > Numbers and Strings)