JSTL functions
Function substringBefore

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

Example:
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


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