S > " " (string delimiter) |
![]() ![]() ![]() |
" " (string delimiter)
Availability
Flash Player 4.
Usage
"
text
"
Parameters
text
A character.
Returns
Nothing.
Description
String delimiter; when used before and after characters, quotes indicate that the characters have a literal value and are considered a stringnot a variable, numerical value, or other ActionScript element.
Example
This example uses quotes to indicate that the value of the variable yourGuess
is the literal string "Prince Edward Island" and not the name of a variable. The value of province
is a variable, not a literal; to determine the value of province
, the value of yourGuess
must be located.
yourGuess = "Prince Edward Island"; on(release){ province = yourGuess trace(province); } // displays Prince Edward Island in the Output window
See also
String (object), String (function)
![]() ![]() ![]() |