I think you should use the sprintf function:

sprintf "Hello %s" "world"

Note: if you try to define an infix operator (calling sprintf), you'll get precedence problems.

Laurent.

By on 2/21/2009 2:15 PM ()

Yeah, but sprintf lacks features that string.Format has. The one that pops immediately to mind is the ability to insert commas every three digits.

By on 2/22/2009 11:27 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper