JSTL functions
Function indexOf

int indexOf(java.lang.String, java.lang.String)
Returns the index withing a string of the first occurrence of a specified substring.

      ${fn:indexOf(name, "-")}

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

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