Possibility of standardized sprintf() in ES4?

zwetan zwetan at gmail.com
Mon Oct 15 14:51:12 PDT 2007


> 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
( public static function format( format:String, ...args ):String )


More information about the Es4-discuss mailing list