Class FnStartsWith
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.metapath.function.library.FnStartsWith
-
public final class FnStartsWith extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IBooleanItem
fnStartsWith(IStringItem arg1, IStringItem arg2)
Determine if the string provided in the first argument contains the string in the second argument as a leading substring.
-
-
-
Method Detail
-
fnStartsWith
public static IBooleanItem fnStartsWith(@Nullable IStringItem arg1, @Nullable IStringItem arg2)
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:
IBooleanItem.TRUE
ifarg1
starts witharg2
, orIBooleanItem.FALSE
otherwise
-
-