Javatpoint Logo
Javatpoint Logo

JSTL fn:startsWith() Function

The fn:startsWith() function test if an input string is started with the specified substring.

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

This function is used for returning a boolean value. It gives the true result when the string is started with the given prefix otherwise it returns a false result.

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

Output:

JSTL Function Tags7



Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA