jstl replace
<%@ taglib uri = "http://java.sun.com/jsp/jstl/functions" prefix = "fn" %>
<c:set var = "string2" value = "${fn:replace(string1, 'first', 'second')}" />
Are there any code examples left?
New code examples in category Other
<%@ taglib uri = "http://java.sun.com/jsp/jstl/functions" prefix = "fn" %>
<c:set var = "string2" value = "${fn:replace(string1, 'first', 'second')}" />