substring-before


substring-before

The substring-before() function returns that part of a string value that occurs before the first occurrence of some specified substring.

For example, the value of «substring-before('print=yes') » returns the string "print" .

Argument

Data Type

Meaning

value

xs:string?

The containing string

substring

xs:string?

The test string

collation (optional)

xs:string

The collation to be used for comparing strings

Result

xs:string

A string containing those characters that precede the first occurrence of the test substring within the containing string




XSLT 2.0 Programmer's Reference
NetBeansв„ў IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (2nd Edition)
ISBN: 764569090
EAN: 2147483647
Year: 2003
Pages: 324

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net