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