Name
fn:trim
Synopsis
This function removes leading and trailing whitespace (blanks, tabs, and linefeed characters) from a string and returns the resulting string.
Syntax
String: fn:trim(string
)
Parameters
Parameter name |
Java type |
Description |
string |
String |
The string to convert. |
Example
${fn:trim(param:descr)}
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.