Home » JSTL fn:endsWith() Function

JSTL fn:endsWith() Function

by Online Tutorials Library

JSTL fn:endsWith() Function

The fn:endsWith() function is used for testing if an input string ends with the specified suffix. If the string ends with a specified suffix, it returns true otherwise false.

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

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

Output:

JSTL Function Tags3

You may also like