Javatpoint Logo
Javatpoint Logo

JSTL fn:trim() Function

The fn:trim() function removes the blank spaces from both the ends of a string. It mainly used for ignoring the blank spaces from both the ends of string.

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

Let's see the simple example to understand the functionality of fn:trim() function:

Output:

JSTL Function Tags6



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


B.Tech / MCA