JSTL fn:replace() Function
The fn:replace() function replaces all the occurrence of a string with another string sequence. It search in an input string and replace it with the provided string.
The syntax used for including the fn:replace() function is:
It searches the search_for string in the input and replaces it with replace_with string. In function three strings argument is used whose return type is also string.
Note: It performs case sensitive processing.
Let's see the simple example to understand the functionality of fn:replace() function: