I noticed a few days ago that Prototype adds some of the math
functions as methods to the Number object, but doesn't do the same
thing for strings. Is there a reason the same thing hasn't been done
for strings?

It wouldn't take too much...

$w('encodeURIComponent decodeURIComponent decodeURI encodeURI escape
unescape').each(function(method) {
  String.prototype[method] = eval(method).methodize();
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to