Possibility of standardized sprintf() in ES4?
ekameleon
ekameleon at gmail.com
Mon Oct 15 15:09:17 PDT 2007
Hello :)
Yes i prefere too the Strings.format implementation :) For me it's an
important feature and can be insert in the core String methods :)
EKA+ :)
2007/10/15, zwetan <zwetan at gmail.com>:
>
> Hi,
>
> ...
> >
> > Is there any other interest in adding a native sprintf() (probably as
> > String.sprintf()) to the ES4 specs?
> >
>
> I'm interested in string formating, but surely not sprintf
> I don't find it intuitive at all
>
> I prefer something closer to String.format from .NET
> but more dynamic and being able to use sort of tokens
> like the ones you can use with E4X (<node>{token}</node>)
>
> see here for an implementation
> http://maashaack.googlecode.com/svn/trunk/ES4a/src/system/Strings.as
> ( public static function format( format:String, ...args ):String )
>
> cheers,
> zwetan
> _______________________________________________
> Es4-discuss mailing list
> Es4-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es4-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.mozilla.org/pipermail/es-discuss/attachments/20071016/e993f153/attachment-0002.html
More information about the Es4-discuss
mailing list