Home » JSTL fn:contains() Function

JSTL fn:contains() Function

by Online Tutorials Library

JSTL fn:contains() Function

The fn:contains() is used for testing if the string containing the specified substring. If the specified substring is found in the string, it returns true otherwise false.

The syntax used for including the fn:contains() function is:

Let’s see the simple example to understand the functionality of fn:contains() function:

Output:

JSTL Function Tags1

You may also like