JSTL functions
Function startsWith

boolean startsWith(java.lang.String, java.lang.String)
Tests if an input string starts with the specified prefix.

Example:
<c:if test="${fn:startsWith(product.id, "100-")}">


Function Information
Function Classorg.apache.taglibs.standard.functions.Functions
Function Signatureboolean startsWith(java.lang.String, java.lang.String)
Display NameNone


Comments to: jstl-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.