This functions test the case insensitive way substring contained into string or not.

   This function filtrates the condition of insensitive case string from substring. This program is a demo to present the working of this function. First we call the syntax of library that allows user to access the JSTL libraries. Then after in body section we declare attributes and required variable that contain the value that is been use to produce the output on the web browser.


<%@ taglib uri="" prefix="c" %>

<%@ taglib uri="" prefix="fn" %>



      <title>&lt;fn:containsIgnoreCase()&gt;In JSTL</title>



     <c:set var="str1" value="Welcome to JSP World"/>

     <c:set var="str2" value="jsp" />

     <c:if test="${fn:containsIgnoreCase(str1, str2)}">

          <b><center><p><br/> <c:out value="String Case Test : str1 contains str2"/>




       JSTL fn:containsIgnoreCase() Function

About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.C.A, MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.