Exemple #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)));
        }
Exemple #2
0
 public StringResult Replace(Parameter search, StringResult replacement)
 {
     return(new StringResult(this, t => t.FnReplace, new object[] { search, replacement }));
 }
Exemple #3
0
 public StringResult Replace(StringResult search, string replacement)
 {
     return(new StringResult(this, t => t.FnReplace, new object[] { search, Parameter.Constant(replacement) }));
 }
Exemple #4
0
 public StringResult Replace(string search, StringResult replacement)
 {
     return(new StringResult(this, t => t.FnReplace, new object[] { Parameter.Constant(search), replacement }));
 }
Exemple #5
0
 public StringResult Split(StringResult delimiter)
 {
     return(new StringResult(this, t => t.FnSplit, new object[] { delimiter }));
 }