String.format = function(s){
        for(var i=1; i<arguments.length; i++){
                s = s.replace("{" + (i -1) + "}", arguments[i]);
                s = s.replace("{{", "{");
                s = s.replace("}}", "}");
        }
        return s;
}

String.Format in .NET Framework treats two '{' or two '}' as the
escaped simbol.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to