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




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