Well, from a C++ background string concatenation would be done through
operator overloading.

Troy.


On 5/4/07, Manish Jethani <[EMAIL PROTECTED]> wrote:

  On 5/4/07, Troy Gilbert <[EMAIL PROTECTED]<troy.gilbert%40gmail.com>>
wrote:
> String is a primitive type, like int/uint/Number (which have operators)
and
> Boolean, which all have special casting rules and operator
"overloading".

There's no special operator "overloading" in String. For example:

var n:int = "hello".length;
trace(n + ""); // prints 5

"hello" is a String object itself. So it can be assigned to any
variable of type String.

var s:String = "hello";

No magic there.

Reply via email to