Home » JSTL fn:startsWith() Function

JSTL fn:startsWith() Function

by Online Tutorials Library

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

You may also like