Name
fn:toUpperCase
Synopsis
This function converts all characters in a string to uppercase and returns the resulting string.
Syntax
String: fn:toUpperCase(string
)
Parameters
Parameter name |
Java type |
Description |
string |
String |
The string to convert. |
Example
<c:if test="${fn:startsWith(fn:toUpperCase(param:day), 'SAT')}">
It must be Saturday!
</c:if>
Get JavaServer Pages, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.