JSTL: Functions Tags Examples

standard taglib • implementation of the JSP Standard Tag Library • support development comments to JSR-52
Examples Introduction • General Purpose • Conditionals • Iterators • Import • I18N & Formatting • XML • SQL • Functions • TLV • Misc.

## Functions Examples

### Length of a Collection or a String

`length`

### String Capitalization

`toUpperCase toLowerCase`

### String Subset

`substring substringAfter substringBefore`

### Trim

`trim`

### Replace

`replace`

### Substring Contained in String

`contains containsIgnoreCase startsWith endsWith indexOf`

### Split/Join

`split join`

### EscapeXml

`escapeXml`

standard taglib • implementation of the JSP Standard Tag Library • support development comments to JSR-52