Class jReplace
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.functor.JFunctorImpl
-
- edu.uiuc.ncsa.security.util.functor.strings.jReplace
-
- All Implemented Interfaces:
JFunctor,JMetaMetaFunctor,JSONFunctor,Serializable
public class jReplace extends JFunctorImpl
This replaces all instance of one string with another. Syntax is$replace[target,new,old]Every instance of old in the target is replaced with new. E.g.$replace["mairzy dotes and dozey dotes","stoats","dotes"]yieldsmairzy stoats and dozey stoatsCreated by Jeff Gaynor
on 6/13/18 at 3:59 PM- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class edu.uiuc.ncsa.security.util.functor.JFunctorImpl
args, executed, result, type
-
-
Constructor Summary
Constructors Constructor Description jReplace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectexecute()protected StringgetValue(int index)-
Methods inherited from class edu.uiuc.ncsa.security.util.functor.JFunctorImpl
addArg, addArg, addArg, addArg, addArg, addArg, checkArgs, checkArgs, clearState, getArgs, getBooleanResult, getIntResult, getListResult, getName, getResult, getStringResult, isExecuted, reset, toJSON, toString
-
-