On 5/9/11, Andrei Alexandrescu <seewebsiteforem...@erdani.org> wrote:
> One possibility is to provide a nice2ugly template that transforms C#
> format strings into % format strings, e.g. nice2ugly!"{1}:{2}" yields
> the string constant "%1$s:%2$s".

That is exactly what my echo function does. It replaces {} syntax with
%$s syntax behind the scenes, and then forwards that to writef.

Reply via email to