Good question :) I'm sure it'd be fine to just prototype in this case, as trim() would be a useful generic string function, but I don't particularly like the idea of polluting the String class with other stuff that may not actually be relevant to strings in general, ie. if I had a URL class with methods like getProtocol() etc., then having those in String would be kinda weird.
Mostly it's just a convenience thing, and I guess I'm kinda used to typedef in C++ :) -- Lindsay Evans. Developer, Red Square Productions. [p] 8596.4000 [f] 8596.4001 [w] www.redsquare.com.au > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Heshan > Sent: Friday, 3 October 2003 10:46 AM > To: Flash Developers List > Subject: [fugli] Re: Using String behaviour with a class that extends > String > > > why not just prototype it? --- You are currently subscribed to fugli as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
