Is there any difference between single and double quoted strings in ActionScript?
Is there any difference between single and double quoted strings in ActionScript?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use either as delimiter for a string. They are however not interchangeable, i.e. you can’t start a string with an apostrophe and end it with a quotation mark.
The only difference is which characters you need to escape. Inside a string delimited by quotation marks you need to escape quotation marks but not apostrophes, and vice versa.
To put the text
He said "It's all right" and laughed.in a string you can use:or: