Ejemplo n.º 1
0
        public StringListResult Extract(Func <TResult, StringResult> logic)
        {
            TResult      itemField = NewResult(t => "item", new object[0], typeof(string));
            StringResult result    = logic.Invoke(itemField);

            return(new StringListResult(this, t => t.FnListExtract, new object[] { result }, typeof(string)));
        }
Ejemplo n.º 2
0
 public StringResult Replace(Parameter search, StringResult replacement)
 {
     return(new StringResult(this, t => t.FnReplace, new object[] { search, replacement }));
 }
Ejemplo n.º 3
0
 public StringResult Replace(StringResult search, string replacement)
 {
     return(new StringResult(this, t => t.FnReplace, new object[] { search, Parameter.Constant(replacement) }));
 }
Ejemplo n.º 4
0
 public StringResult Replace(string search, StringResult replacement)
 {
     return(new StringResult(this, t => t.FnReplace, new object[] { Parameter.Constant(search), replacement }));
 }
Ejemplo n.º 5
0
 public StringResult Split(StringResult delimiter)
 {
     return(new StringResult(this, t => t.FnSplit, new object[] { delimiter }));
 }