jsp页面截取字符串,显示指定长度

<c:if test="${fn:length(item.creditorName)>'15'}">${fn:substring(item.creditorName, 0, 15)}...</c:if>

原文地址:https://www.cnblogs.com/hougebajie/p/7464175.html