functx:contains-case-insensitive

Whether one string contains another, without regard to case

Description

The functx:contains-case-insensitive function returns true if $substring is contained in $arg. It is case insensitive; it matches a word even if the case is different.

Parameters

Description

arg:string()

the string to search

substring:string()

the substring to find

Examples

XPath

Results

functx:contains-case-insensitive(‘abcdef’, ‘def’)

true

functx:contains-case-insensitive(‘abcdEF’, ‘def’)

true

See Also