JSTL functions
Function substringBefore

java.lang.String substringBefore(java.lang.String, java.lang.String)
Returns a subset of a string before a specific substring.

Zip (without P.O. Box): ${fn:substringBefore(zip, "-")}

Function Information
Function Classorg.apache.taglibs.standard.functions.Functions
Function Signaturejava.lang.String substringBefore(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.