JSTL functions
Function startsWith

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

<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

Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.