String.concat() - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

String.concat()

Availability
Flash Player 5.
Usage
my_str.concat(value1,...valueN) : String
Parameters
value1,...valueN
Returns
A string.
Description
Method; combines the value of the String object with the parameters and returns the newly
formed string; the original value,
Example
The following example creates two strings and combines them using
var stringA:String = "Hello";
var stringB:String = "World";
var combinedAB:String = stringA.concat(" ", stringB);
trace(combinedAB); // output: Hello World
Zero or more values to be concatenated.
, is unchanged.
my_str
:
String.concat()
String.concat()
797

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents