//---------------------------------------------------------------------------------------------------- public JsStr Replace2(string oldValue, string newValue) { this.String = JsStr.Replace(this.String, oldValue, newValue); return(this); }
//------------------------------------------------------------------------------------------ static -- public static string StrFormat2(JsString str, string param0, string param1) { return(JsStr.S(str) .Replace2("{0}", param0) .Replace2("{1}", param1).String); }
//---------------------------------------------------------------------------------------------------- public string Replace1(string oldValue, string newValue) { return(JsStr.Replace(this.String, oldValue, newValue)); }