public class ContainsExprMacro extends Object implements ExprMacroTable.ExprMacro
Examples:
- contains_string("foobar", "bar") - 1
- contains_string("foobar", "car") - 0
- contains_string("foobar", "Bar") - 0
See CaseInsensitiveContainsExprMacro for the case-insensitive version.
| Constructor and Description |
|---|
ContainsExprMacro() |
| Modifier and Type | Method and Description |
|---|---|
Expr |
apply(List<Expr> args) |
String |
name()
Name of the function
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessingFailed, validationFailed, validationFailed, validationHelperCheckAnyOfArgumentCount, validationHelperCheckArgIsLiteral, validationHelperCheckArgumentCount, validationHelperCheckArgumentCount, validationHelperCheckArgumentRange, validationHelperCheckLambaArgumentCount, validationHelperCheckMinArgumentCount, validationHelperCheckMinArgumentCountpublic static final String FN_NAME
public String name()
NamedFunctionname in interface NamedFunctionpublic Expr apply(List<Expr> args)
apply in interface ExprMacroTable.ExprMacroCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.