java.lang.Object
dev.metaschema.core.metapath.function.library.FnContains
Implements the XPath 3.1 fn:contains
function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanfnContains(String arg1, String arg2) Determine if the string provided in the first argument contains the string in the second argument as a substring.
-
Method Details
-
fnContains
Determine if the string provided in the first argument contains the string in the second argument as a substring.Based on the XPath 3.1 fn:contains function.
- Parameters:
arg1- the string to examinearg2- the string to check as the leading substring- Returns:
trueifarg1containsarg2, orfalseotherwise
-