I am trying to put lines of text into an array:
messageArray = new Array();messageArray = 'Information deduced from the document's content.'
I’m running into problems with the single quotes (‘) because it thinks that the text is over and that there is an extra ‘. What can I do about this?
messageArray = "Information deduced from the document's content.";
You can also escape the quotes within your strings by putting a backslash before them. Like this:
‘ Single quotation mark
” Double quotation mark