RE: [flexcoders] Re: question about string equality

2007-04-05 Thread Peter Farland
For AS3, I think it is fine to use the new operator in general - I was clutching-at-straws as to why something might be different in your scenario (largely because I know in AS2 there was a difference between and new String() as there was the concept of primitives and object forms of the string

RE: [flexcoders] Re: question about string equality

2007-04-05 Thread Peter Farland
PROTECTED] On Behalf Of Peter Farland Sent: Thursday, April 05, 2007 11:23 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: question about string equality For AS3, I think it is fine to use the new operator in general - I was clutching-at-straws as to why something might be different

RE: [flexcoders] Re: question about string equality

2007-04-05 Thread Gordon Smith
/a;); - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Farland Sent: Thursday, April 05, 2007 8:37 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: question about string equality Oops, I deleted part of a sentence

RE: [flexcoders] Re: question about string equality

2007-04-04 Thread Alex Harui
=== I believe it doesn't affect strings. if name == null and category = new String() then they are not == or ===, but their valueOf may be From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Wednesday, April 04, 2007