boolean contains (string, string) [xpath]

Standard excerpt:

The contains function returns true if the first argument string contains the second argument string, and otherwise returns false.
Examples (xslt:xml): Overview
56:2

Interactive xlab: [string functions] [xsl:value-of] [xsl:template]