On 5/4/07, Troy Gilbert <[EMAIL PROTECTED]> 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