JSP / JSP interview questions
How do I test if a string contains the given value in EL?
Use the fn:contains() or fn:containsIgnoreCase() function.
<c:forEach items="${cartItems}" var="eachItem"> <c:if test="${not fn:containsIgnoreCase(eachItem, 'egg')}"> <p> ${eachItem} doesn't contain 'Egg'</p> </c:if> </c:forEach>
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
More Related questions...