Module dev.metaschema.core
Class FnSubstringBefore
java.lang.Object
dev.metaschema.core.metapath.function.library.FnSubstringBefore
Implements the XPath 3.1 fn:substring-before
function.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringfnSubstringBefore(String arg1, String arg2) An implementation of XPath 3.1 fn:substring-before.
-
Method Details
-
fnSubstringBefore
An implementation of XPath 3.1 fn:substring-before.- Parameters:
arg1- the source string to get a substring fromarg2- the substring to match and find the substring to return before the match- Returns:
- the substring
-