Forum Navigation
Formatting for ordinary strings (not Stdout)
Posted: 03/10/07 19:06:16Thanks for implementing C# style format strings. They're very very handy. I've read the tutorial here, and it's very straightforward to use the format strings for writing to Stdout.
But how do I use them to format ordinary strings in memory?
In C#, I'd just do:
String formatted = String.Format("This is the thing: {0}", thing);There doesn't seem to be any way to do this right now (I'm using the Tango 0.95 beta).
Thanks!!
--benji