Javatpoint Logo
Javatpoint Logo

JSTL fn:substringBefore() Function

The fn:substringBefore() function returns the subset of string before a specific substring. It is used for returning a part of original string which lies before the specified string value.

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

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

Output:

JSTL Function Tags13



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA