+ 2

Question about Strings?

Complete the code to create a string containing a double quote? Example: >>> "__" not sure what it is asking since I can add a character to complete the double string, but I can also add a new line with \n. I tried this two methods, and I still cannot get it right.

26th Nov 2016, 10:56 PM
Saul
Saul  - avatar
2 Answers
+ 1
Thank you very much it worked :)
26th Nov 2016, 11:58 PM
Saul
Saul  - avatar
- 1
You should probably escape the double quote, as it is the symbol used to delimitate strings. You can do that by adding a backslash before it (so it should be >>> "\"")
26th Nov 2016, 11:15 PM
Pierre Varlez
Pierre Varlez - avatar