YouTip LogoYouTip

Jstl Function Replace

# fn:replace() Function [![Image 3: JSP Standard Tag Library](#)JSP Standard Tag Library](#) The fn:replace() function replaces all occurrences of a specified substring with another string. ### Syntax The syntax for the fn:replace() function is as follows: ${fn:replace(, , )} ### Example The following example demonstrates the functionality of this function: Using JSTL Functions

Replaced String : ${string2}

The result is as follows: Replaced String : I am from tutorial * * JSP Standard Tag Library](#)
← Jstl Function SplitJstl Function Length β†’