Perform var1.contains(var2) in jsp

In jsp, performing equals or not equals is pretty simple :for equals :<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><c:if test="${var1 eq var2}">for not equals : <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><c:if test="${var1 ne var2}">To perform contains function, following snippet will be used : <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><c:if test="${fn:contains(var1, 'test')}">