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