swift - How to put quotes around a string that has quotes? -


making game in spritekit , have array of famous historical quotations. i'm having trouble adding quotes because syntax requires me use quotes. example, want ""apple"", ""orange"", won't let me use double quotations.

try this:

let fruit = "\"apple\"" 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -