Home » JSTL fn:substringBefore() Function

JSTL fn:substringBefore() Function

by Online Tutorials Library

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

You may also like