Javatpoint Logo
Javatpoint Logo

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



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA