Character to represent quotes in an array

I have an array reading a string such as this:

myArray = (“5’6”, “5’4”, “5’5”);

These are all heights of people, I want to included a " - ex. 5’6"

but if i write that in the array, it screws it up because of the double quotes. ex:

myArray = (“5’6"”, “5’4"”, “5’5"”);

is their a special character that will represent " and other characters that make up an array?

Use a backslash before the double quotes inside the array:

myArray = new Array("5'6\"", "5'4\"", "5'5\"2");

much thanks claudio!

welcome jacobaa :slight_smile: