substring-before Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > core | string functions >


Result is the string fragment of the "string" parameter, up to the first occurrence of the substr characters. An empty string is the result, if substr does not occur in string.


E.g. substring-before ("2009/01/04","/") results in the substring 2009. substr in this case is the first "/" character.

© 2019 Altova GmbH