" " (string delimiter)
Availability
Flash Player 4.
Usage
"text"
Parameters
A sequence of zero or more characters.
text
Returns
Nothing.
Description
String delimiter; when used before and after characters, quotation marks ("") indicate that the
characters have a literal value and are considered a string, not a variable, numerical value, or other
ActionScript element.
Example
The following example uses quotation marks ("") to indicate that the value of the variable
is the literal string
yourGuess
value of
province
must be located.
yourGuess
var yourGuess:String = "Prince Edward Island";
submit_btn.onRelease = function() {
trace(yourGuess);
};
// displays Prince Edward Island in the Output panel
See also
String
class,
810
Chapter 2: ActionScript Language Reference
"Prince Edward Island"
is a variable, not a literal; to determine the value of
String()
ActionScript Language Reference
and not the name of a variable. The
CHAPTER 2
, the value of
province
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?