75
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:
Next TopicJSTL fn:split() Function