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




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA